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

User avatar
By trendchaster
#35628 While compling code following error occurs.I already included user_rf_pre_init.You can check my project given below.What will be the issue.How to resolve it?

mingw32-make.exe -f C:/Users/abc/worksorg/meshnetwork/Makefile all
AR build/app_app.a
LD build/app.out
c:/Espressif/ESP8266_SDK/lib\libmain.a(app_main.o): In function `user_uart_wait_tx_fifo_empty':
(.irom0.text+0x5c4): undefined reference to `user_init'
c:/Espressif/ESP8266_SDK/lib\libmain.a(app_main.o): In function `user_rf_pre_init':
(.irom0.text+0x85a): undefined reference to `user_init'
collect2.exe: error: ld returned 1 exit status
C:/Users/abc/worksorg/meshnetwork/Makefile:187: recipe for target 'build/app.out' failed
mingw32-make.exe: *** [build/app.out] Error 1
You do not have the required permissions to view the files attached to this post.
User avatar
By Thomashillegom
#35630 Hello,

The program 'esp_mesh_sdk_app_light' i want to use does not work.
First i got the error: `.irom0.text' will not fit in region `irom0_0_seg'.
So i changed the 'eagle.app.v6.ld' to org = 0x40210000, len = 0x6C000
the problem here is that you write over the space between 3E000 and 40000 (master_divice_key.bin space)

my question is, how can i fix it? or is the only solution make the code smaller?