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

User avatar
By j0hncc
#14875
j0hncc wrote:blinky works....
blink2 does not....


Disregard :) Is working great now. Have no idea why not before.

I love Eclipse, use it in my day job so it's right at home!

Cheers,
John
User avatar
By Markus Gritsch
#14933
Markus Gritsch wrote:How do you get the section info displayed (the lines between "LD build/app.out" and "Run objcopy, please wait...)"?

Never mind. I mixed up the DevKit "blinky" example with the Sming "Basic_Blink" example which does not have the objdump and memanalyzer.exe calls in its Makefile.
User avatar
By jefB
#15011 @boseji

Had some issues with your portable package.
After unpacking it and starting the eclipse.cmd and trying to compile the hello world example i got an error.
It seems that the path for the espressif tools default to I:\Downloads\Espressif\ESP8266_SDK.
So they will not be found while compiling.

in the eclipse.cmd file i removed the extra spaces by the set xxx = yyy commands.
this seem to solve the issues i was having

original:
@SET JAVA_HOME = %~dp0jre7
@SET ESPRESSIFPATH = %~dp0
@SET XTENSA_TOOLS_ROOT = %ESPRESSIFPATH%xtensa-lx106-elf\bin
@SET SDK_BASE = %ESPRESSIFPATH%ESP8266_SDK
@SET ESPTOOL = %ESPRESSIFPATH%utils\esptool.exe


modified :
@SET JAVA_HOME=%~dp0jre7
@SET ESPRESSIFPATH=%~dp0
@SET XTENSA_TOOLS_ROOT=%ESPRESSIFPATH%xtensa-lx106-elf\bin
@SET SDK_BASE=%ESPRESSIFPATH%ESP8266_SDK
@SET ESPTOOL=%ESPRESSIFPATH%utils\esptool.exe


btw i'm running the package on windows 8 64bits verison

Thanks for this portable version of the tools,

Jef
User avatar
By iHaveESP
#15034 Greetings,

I just upgraded to 2.0.2 and I'm getting this error when compiling the example projects:

Code: Select all------------------------------------------------------------------------------
Section info:
C:/Espressif/examples/esp_mqtt/Makefile:225: recipe for target 'build/app.out' failed
mingw32-make.exe: *** [build/app.out] Error -1073741515


My custom projects compile fine. Thanks for any input.