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

User avatar
By AMarcotte
#24329 Hi,
First, thank you for the Eclipse ESP8266 support; this is a very useful gift to the community.

I'm trying to implement the WPS support and I'm experiencing problems.
Here is the LIBS Makefile line; I added wps library
LIBS = c gcc hal phy pp net80211 lwip wpa main at smartconfig wps

Now, when I compile the code, this error is displayed
c:/espressif/xtensa-lx106-elf/bin/../lib/gcc/xtensa-lx106-elf/5.1.0/../../../../xtensa-lx106-elf/bin/ld.exe: build/app.out section `.irom0.text' will not fit in region `irom0_0_seg'

Do I need to do/modify something else to be able to make WPS works?
Thank you,

Alex
User avatar
By AMarcotte
#24496 Hi Ribeiro Santos,

Thank you for the link you share to me.
Unfortunately, I still have the problem.

With this configuration, I can compile successfully, but when I run the program, nothing seems to happen; only junk are displayed to my terminal:
BOOT?=new
APP?=1
SPI_SIZE?=1024 or 2048 or 4096


With this configuration:
section `.irom0.text' will not fit in region `irom0_0_seg'
BOOT?=none
APP?=0 or 1
SPI_SIZE?= 1024 or 2048 or 4096
[/i]

Maybe there is something I just don't understand. Look like I cannot run my code when I select user1.bin.

Best regards,
Alex
User avatar
By robinndi
#24575 Good work CHERTS (Mikhail ), but ...
depending on just where I plug in, I get a different COM port number. Other things compete for COM ports and some have more power (watts) than others. It would be great to have an easy way to configure the number rather than have to mess editing multiple make files :cry: .
Environment variables are not that exciting in windows either.
How about a simple config file with "COMPORT=5". Or perhaps you have a better idea.
I don't want to enter it every time I compile but there must be a better way :D .
Wouldn't a fix here excite many users?