When I traing to flash:
Code: Select all
LD build/main.elf
/opt/xtensa-lx106-elf-gcc/bin/../lib/gcc/xtensa-lx106-elf/8.4.0/../../../../xtensa-lx106-elf/bin/ld: address 0x4028b92c of /home/dlut/GIT/esp8266_rtos_tamplate/build/main.elf section `.flash.rodata' is not within region `iram0_2_seg'
/opt/xtensa-lx106-elf-gcc/bin/../lib/gcc/xtensa-lx106-elf/8.4.0/../../../../xtensa-lx106-elf/bin/ld: address 0x4028b92c of /home/dlut/GIT/esp8266_rtos_tamplate/build/main.elf section `.flash.rodata' is not within region `iram0_2_seg'
collect2: error: ld returned 1 exit status
make: *** [/home/dlut/esp/ESP8266_RTOS_SDK/make/project.mk:510: /home/dlut/GIT/esp8266_rtos_tamplate/build/main.elf] Error 1
My partition table is:
Code: Select all
nvs, data, nvs, 0x9000, 0x4000
otadata, data, ota, 0xd000, 0x2000
phy_init, data, phy, 0xf000, 0x1000
ota_0, 0, ota_0, 0x10000, 0x78000
ota_1, 0, ota_1, 0x88000, 0x78000
Size of binary file:
Code: Select all
❯ ls -la build/main.bin
-rw-r--r-- 1 dlut users 457120 Aug 3 10:26 build/main.bin
It is posible to use OTA on esp8285?