Open lingge opened 3 years ago
Have you tried to compile with version 8.4.0 of xtensa compiler? Or you have to use version 5.2.0 for some reason? I ask because it seems that it works with version 8.4.0, but e.g. libwolfssl is built with older toolchain and does not link with newer one.
cJSON *pRoot = cJSON_CreateObject(); 只要调用这行代码就报这个错,NND,什么情况。
c:/program files (x86)/aithinkeride_v1.5.2/msys32/opt/esp8266/v5.2.0_for_3.0/bin/../lib/gcc/xtensa-lx106-elf/5.2.0/../../../../xtensa-lx106-elf/bin/ld.exe: D:/workspace/rhkj/8266/esp8266rtos-app/Wifi-Switch/build/wifi_switch.elf section
.iram0.bss' will not fit in region
iram0_0_seg' c:/program files (x86)/aithinkeride_v1.5.2/msys32/opt/esp8266/v5.2.0_for_3.0/bin/../lib/gcc/xtensa-lx106-elf/5.2.0/../../../../xtensa-lx106-elf/bin/ld.exe: IRAM0 segment data does not fit. collect2.exe: error: ld returned 1 exit status make: *** [D:\workspace\rhkj\8266\SDK\ESP8266_RTOS_SDK-v3.4\ESP8266_RTOS_SDK/make/project.mk:510: /d/workspace/rhkj/8266/esp8266rtos-app/Wifi-Switch/build/wifi_switch.elf] Error 1