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

User avatar
By Abdullbasit
#38524
tiawild wrote:Hi!
I'm trying to build the last NodeMCU firmware.
I can make the version in the example folder (Espressif\examples\nodemcu-firmware\) but not the last downloaded (v1.4) because when I try, compiler tells me:

Code: Select alluser_exceptions.c:111:5: error: implicit declaration of function '__real__xtos_set_exception_handler' [-Werror=implicit-function-declaration]
     __real__xtos_set_exception_handler (cause, fn);


What is wrong ? :|
Thanks for your help

You can remove the flag "-Werror" from the makefile so as not let the compiler treating warnings as errors
User avatar
By ivanroberto
#38531 Hi Cherts,

Please, could you add in examples the IOT_Plataform_RTOS https://github.com/espressif/ESP8266_IOT_PLATFORM
This is very interesting and complex project.
I already tried to convert Makefiles to compile in your DevKit, but... no sucess :x

If some one have this project compiling in Cherts DevKit, please send me it.

Thanks
User avatar
By tiawild
#39249
Abdullbasit wrote:
tiawild wrote:Hi!
You can remove the flag "-Werror" from the makefile so as not let the compiler treating warnings as errors

OK, thank you. Now it's better :D ...but it still doesn't works :(
At about 75% it freezes with this line:

Code: Select allC:\Espressif\examples\nodemcu-firmware-v1.4\app\coap/hash.c:23:(.text.coap_transaction_id+0x17): dangerous relocation: call0: call target out of range: ets_memset
collect2.exe: error: ld returned 1 exit status