Code:
\sdk\app\user\.output\eagle\debug\obj
\sdk\app\user\.output\eagle\debug\lib
\sdk\app\.output\eagle\debug\image\
Statistics: Posted by Fleuve — Tue Dec 22, 2015 1:50 pm
Code:
#error "upgrade is not supported when eagle.flash.bin+eagle.irom0text.bin!!!"
Code:
//#define AT_CUSTOM_UPGRADE
Code:
.output/eagle/debug/obj/at_upgrade.d:1: *** multiple target patterns. Stop.
Statistics: Posted by ESP_Faye — Mon Dec 14, 2015 2:03 pm
GCC every .C file inside asked module (driver, user)
AR every .O file inside asked module into App.a file
LD the App.a file into TARGET.out
Esptool TARGET.out into TARGET.eagle.flash.bin
Esptool TARGET.out into TARGET.eagle.irom0text.bin
Code:
@echo off
if /i "%1" equ "/S" goto Start
cmd /k %~dp0%~nx0 /S
goto :EOF
:Start
set Prompt=[$P]$_¯
cd /d %~dp0%
set path=%~dp0bin;%~dp0CygWinLite\bin;%~dp0xtensa106\bin;%~dp0Python27;%~dp0Python27\Scripts;%path%
set COMPILE=gcc
Build.bat
make COMPILE=gcc BOOT=none APP=0 SPI_SPEED=40 SPI_MODE=QIO SPI_SIZE_MAP=0
#error "upgrade is not supported when eagle.flash.bin+eagle.irom0text.bin!!!"
make COMPILE=gcc BOOT=new APP=1 SPI_SPEED=40 SPI_MODE=QIO SPI_SIZE_MAP=0
make[1]: Entering directory '/cygdrive/e/ESPBuilder/Sdk/app'
make[2]: Entering directory '/cygdrive/e/ESPBuilder/Sdk/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_FLA
SH -DAT_UPGRADE_SUPPORT -I include -I ./ -I ../../include/ets -I ../include -I ../../include -I ../../include/eagle user_main.c
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_FLA
SH -DAT_UPGRADE_SUPPORT -I include -I ./ -I ../../include/ets -I ../include -I ../../include -I ../../include/eagle at_upgrade.c
.output/eagle/debug/obj/at_upgrade.d:1: *** multiple target patterns. Stop.
make[2]: Leaving directory '/cygdrive/e/ESPBuilder/Sdk/app/user'
../Makefile:307: recipe for target '.subdirs' failed
make[1]: *** [.subdirs] Error 2
make[1]: Leaving directory '/cygdrive/e/ESPBuilder/Sdk/app'
Makefile:307: recipe for target '.subdirs' failed
make: *** [.subdirs] Error 2
Statistics: Posted by Fleuve — Fri Dec 11, 2015 2:40 am