Code:
../include/user_config.h:8:6: error: #error "upgrade is not supported when eagle.flash.bin+eagle.irom0text.bin!!!"
#error "upgrade is not supported when eagle.flash.bin+eagle.irom0text.bin!!!"
^
Code:
//#define AT_CUSTOM_UPGRADE
Statistics: Posted by ESP_Faye — Thu Sep 10, 2015 10:05 am
Code:
esp8266@esp8266-VirtualBox:~$ ./mount.sh
[sudo] password for esp8266:
esp8266@esp8266-VirtualBox:~$ cd Share
esp8266@esp8266-VirtualBox:~/Share$ cd esp_iot_sdk_v1.3.0
esp8266@esp8266-VirtualBox:~/Share/esp_iot_sdk_v1.3.0$ cd app
esp8266@esp8266-VirtualBox:~/Share/esp_iot_sdk_v1.3.0/app$ ./gen_misc.sh
gen_misc.sh version 20150511
Please follow below steps(1-5) to generate specific bin(s):
STEP 1: choose boot version(0=boot_v1.1, 1=boot_v1.2+, 2=none)
enter(0/1/2, default 2):
2
boot mode: none
STEP 2: choose bin generate(0=eagle.flash.bin+eagle.irom0text.bin, 1=user1.bin, 2=user2.bin)
enter (0/1/2, default 0):
0
generate bin: eagle.flash.bin+eagle.irom0text.bin
STEP 3: choose spi speed(0=20MHz, 1=26.7MHz, 2=40MHz, 3=80MHz)
enter (0/1/2/3, default 2):
2
spi speed: 40 MHz
STEP 4: choose spi mode(0=QIO, 1=QOUT, 2=DIO, 3=DOUT)
enter (0/1/2/3, default 0):
0
spi mode: QIO
STEP 5: choose spi size and map
0= 512KB( 256KB+ 256KB)
2=1024KB( 512KB+ 512KB)
3=2048KB( 512KB+ 512KB)
4=4096KB( 512KB+ 512KB)
5=2048KB(1024KB+1024KB)
6=4096KB(1024KB+1024KB)
enter (0/2/3/4/5/6, default 0):
2
spi size: 1024KB
spi ota map: 512KB + 512KB
start...
make[1]: Entering directory `/mnt/Share/esp_iot_sdk_v1.3.0/app/user'
DEPEND: xtensa-lx106-elf-gcc -M -Os -g -Wpointer-arith -Wundef -Werror -Wl,-EL -fno-inline-functions -nostdlib -mlongcalls -mtext-section-literals -ffunction-sections -fdata-sections -DICACHE_FLASH -I include -I ./ -I ../../include/ets -I ../include -I ../../include -I ../../include/eagle user_main.c
In file included from ../../include/osapi.h:9:0,
from user_main.c:12:
../include/user_config.h:8:6: error: #error "upgrade is not supported when eagle.flash.bin+eagle.irom0text.bin!!!"
#error "upgrade is not supported when eagle.flash.bin+eagle.irom0text.bin!!!"
^
DEPEND: xtensa-lx106-elf-gcc -M -Os -g -Wpointer-arith -Wundef -Werror -Wl,-EL -fno-inline-functions -nostdlib -mlongcalls -mtext-section-literals -ffunction-sections -fdata-sections -DICACHE_FLASH -I include -I ./ -I ../../include/ets -I ../include -I ../../include -I ../../include/eagle at_upgrade.c
In file included from ../../include/user_interface.h:17:0,
from at_upgrade.c:12:
../include/user_config.h:8:6: error: #error "upgrade is not supported when eagle.flash.bin+eagle.irom0text.bin!!!"
#error "upgrade is not supported when eagle.flash.bin+eagle.irom0text.bin!!!"
^
xtensa-lx106-elf-gcc -Os -g -Wpointer-arith -Wundef -Werror -Wl,-EL -fno-inline-functions -nostdlib -mlongcalls -mtext-section-literals -ffunction-sections -fdata-sections -DICACHE_FLASH -I include -I ./ -I ../../include/ets -I ../include -I ../../include -I ../../include/eagle -o .output/eagle/debug/obj/at_upgrade.o -c at_upgrade.c
In file included from ../../include/user_interface.h:17:0,
from at_upgrade.c:12:
../include/user_config.h:8:6: error: #error "upgrade is not supported when eagle.flash.bin+eagle.irom0text.bin!!!"
#error "upgrade is not supported when eagle.flash.bin+eagle.irom0text.bin!!!"
^
make[1]: *** [.output/eagle/debug/obj/at_upgrade.o] Error 1
make[1]: Leaving directory `/mnt/Share/esp_iot_sdk_v1.3.0/app/user'
make: *** [.subdirs] Error 2
esp8266@esp8266-VirtualBox:~/Share/esp_iot_sdk_v1.3.0/app$
Statistics: Posted by java — Fri Aug 28, 2015 3:05 am