-->
Page 100 of 122

Re: My Espressif DevKit for Windows + Eclipse IDE

PostPosted: Sat Feb 27, 2016 12:07 am
by flyingkiwi
jcmvbkbc wrote:
tiawild wrote:
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

flyingkiwi wrote:Did you sort this problem ?

No, I didn't :(

Compiling the source file mentioned in the error message with -mlongcalls option should fix that error.
In general compiling all sources with this option is the right thing.

I have -mlongcalls in the make file but still get dangerous relocation error
oh sorry, on nodemcu sdk 1.5.0 or greater

Re: My Espressif DevKit for Windows + Eclipse IDE

PostPosted: Sat Feb 27, 2016 4:29 am
by jcmvbkbc
flyingkiwi wrote:
jcmvbkbc wrote:Compiling the source file mentioned in the error message with -mlongcalls option should fix that error.
In general compiling all sources with this option is the right thing.

I have -mlongcalls in the make file but still get dangerous relocation error
oh sorry, on nodemcu sdk 1.5.0 or greater

I'm pretty sure this should not happen, and that's rather an indication of an error in a makefile. Can you share it so that I could check?

Re: My Espressif DevKit for Windows + Eclipse IDE

PostPosted: Sat Feb 27, 2016 8:05 pm
by flyingkiwi
jcmvbkbc wrote:
flyingkiwi wrote:
jcmvbkbc wrote:Compiling the source file mentioned in the error message with -mlongcalls option should fix that error.
In general compiling all sources with this option is the right thing.

I have -mlongcalls in the make file but still get dangerous relocation error
oh sorry, on nodemcu sdk 1.5.0 or greater

I'm pretty sure this should not happen, and that's rather an indication of an error in a makefile. Can you share it so that I could check?



It is the standard Makefile that comes with the Nodemcu sdk

whoops would not accept attatchment

Re: My Espressif DevKit for Windows + Eclipse IDE

PostPosted: Wed Mar 16, 2016 7:52 am
by Yaro
It's possible somehow to setup and use Visual Studio as visual IDE for writing in C and compiling?