Discuss here different C compiler set ups, and compiling executables for the ESP8266

User avatar
By CHERTS
#9143 A new version of my build Espressif DevKit for Windows v1.0.9
The list of changes to the first page

Update procedure:
1. Remove the old version.
2. Install the new version DevKit.
ATTENTION!!! When you delete the old version will be removed entire directory C:\Espressif
User avatar
By picstart
#9145 Unmatched #FF #ENDIF in user_config.h in nodemcu-firmare line 22 breaks the compile the change below fixes it
Code: Select all#ifdef DEVELOP_VERSION
#define NODE_DEBUG
#endif   /* DEVELOP_VERSION */


remaining unresolved issue
c:/espressif/xtensa-lx106-elf/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: .output/eagle/debug/image/eagle.app.v6.out section `.irom0.text' will not fit in region `irom0_0_seg'
collect2.exe: error: ld returned 1 exit status
../Makefile:178: recipe for target '.output/eagle/debug/image/eagle.app.v6.out' failed
mingw32-make[1]: *** [.output/eagle/debug/image/eagle.app.v6.out] Error 1
mingw32-make[1]: Leaving directory 'C:/Espressif/examples/nodemcu-firmware/app'
mingw32-make.exe: *** [flash] Error 2
C:/Espressif/examples/nodemcu-firmware/Makefile:111: recipe for target 'flash' failed


This issue is resolved with the latest downloads specifically CHERTS v1.0.10 (16.02.2015):. The issue may never have existed.....I thought I updated every part according to CHERTS instructions...
however it is very possible install-mingw-package.bat may not have fully completed causing the issue above.
Anyway thanks CHERTS all is well now Feb 16 2015
Last edited by picstart on Mon Feb 16, 2015 4:46 pm, edited 1 time in total.
User avatar
By raz123
#9205
picstart wrote:remaining unresolved issue
c:/espressif/xtensa-lx106-elf/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: .output/eagle/debug/image/eagle.app.v6.out section `.irom0.text' will not fit in region `irom0_0_seg'
collect2.exe: error: ld returned 1 exit status
../Makefile:178: recipe for target '.output/eagle/debug/image/eagle.app.v6.out' failed
mingw32-make[1]: *** [.output/eagle/debug/image/eagle.app.v6.out] Error 1
mingw32-make[1]: Leaving directory 'C:/Espressif/examples/nodemcu-firmware/app'
mingw32-make.exe: *** [flash] Error 2
C:/Espressif/examples/nodemcu-firmware/Makefile:111: recipe for target 'flash' failed


Yip. I get this error as well :\