Error: .text will not fit in iram1_0_seg
Posted: Tue May 26, 2015 8:37 am
Hi all,
I tried to upload some code on the esp but got the following error: section `.text' will not fit in region `iram1_0_seg'.
After googling it a bit I found that I could modify in what area of the memory will the code go. I added *(.literal .text .literal.* .text.*) to the .irom0.text section in eagle.app.v6.ld
It now compiles just fine but the it seems that the code is't running on the esp. There should be some output on the serial interface and I should see and AP but none of that is happening.
Any idea what is happening or any suggestions?
Thank you!
I tried to upload some code on the esp but got the following error: section `.text' will not fit in region `iram1_0_seg'.
After googling it a bit I found that I could modify in what area of the memory will the code go. I added *(.literal .text .literal.* .text.*) to the .irom0.text section in eagle.app.v6.ld
Code: Select all
.irom0.text : ALIGN(4)
{
_irom0_text_start = ABSOLUTE(.);
*(.irom0.literal .irom.literal .irom.text.literal .irom0.text .irom.text)
*(.literal .text .literal.* .text.*)
_irom0_text_end = ABSOLUTE(.);
} >irom0_0_seg :irom0_0_phdr
It now compiles just fine but the it seems that the code is't running on the esp. There should be some output on the serial interface and I should see and AP but none of that is happening.
Any idea what is happening or any suggestions?
Thank you!