.irom.text will not fit in region irom0_0_seg
.irom.text will not fit in region irom0_0_seg
Postby crosofg » Thu Aug 27, 2015 8:41 pm
Hi
I am trying to compile the mesh example provided by espressif using virtual box. However i am getting irom0.text will not fit in region Error.
/opt/xtensa-lx106-elf/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld: .output/eagle/debug/image/eagle.app.v6.out section `.irom0.text' will not fit in region `irom0_0_seg'
collect2: error: ld returned 1 exit status
How do I resolve this ?
Thanks
I am trying to compile the mesh example provided by espressif using virtual box. However i am getting irom0.text will not fit in region Error.
/opt/xtensa-lx106-elf/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld: .output/eagle/debug/image/eagle.app.v6.out section `.irom0.text' will not fit in region `irom0_0_seg'
collect2: error: ld returned 1 exit status
How do I resolve this ?
Thanks
Re: .irom.text will not fit in region irom0_0_seg
Postby ESP_Faye » Thu Aug 27, 2015 9:00 pm
Hi,
What is the size of your Flash ?
And which option did you choose when compiling ?
1. Use a larger Flash.
2. Or you could refer to this topic http://bbs.espressif.com/viewtopic.php?f=61&t=166
What is the size of your Flash ?
And which option did you choose when compiling ?
1. Use a larger Flash.
2. Or you could refer to this topic http://bbs.espressif.com/viewtopic.php?f=61&t=166
Re: .irom.text will not fit in region irom0_0_seg
Postby crosofg » Thu Aug 27, 2015 11:10 pm
flash size is 512Kb. I am not even able to generate eagle.flash.bin + size of eagle.irom0text.bin. So I cant say about the total size. I must be doing something wrong.
I downloaded the mesh_sample code (containing app_switch,app_light and app_controller) in the app folder of the iot esh sdk.
I then ran Make from the app folder. I am using Virtual box as the development env.
Am I doing anything wrong. If so, please correct me.
Thanks
I downloaded the mesh_sample code (containing app_switch,app_light and app_controller) in the app folder of the iot esh sdk.
I then ran Make from the app folder. I am using Virtual box as the development env.
Am I doing anything wrong. If so, please correct me.
Thanks
-
- Posts: 44
- Joined: Sat Oct 17, 2015 4:49 pm
Re: .irom.text will not fit in region irom0_0_seg
Postby marhc_seven » Fri Nov 06, 2015 7:05 pm
Espressif_Faye wrote:Hi,
What is the size of your Flash ?
And which option did you choose when compiling ?
1. Use a larger Flash.
2. Or you could refer to this topic http://bbs.espressif.com/viewtopic.php?f=61&t=166
Hi i have already enlarge the flash as 8M
but it also showing error!!!
1> c:/sysgcc/esp8266/bin/../lib/gcc/xtensa-lx106-elf/5.2.0/../../../../xtensa-lx106-elf/bin/ld.exe: Debug/HTTPserver.elf section `.irom0.text' will not fit in region `irom0_0_seg'
1> c:/sysgcc/esp8266/bin/../lib/gcc/xtensa-lx106-elf/5.2.0/../../../../xtensa-lx106-elf/bin/ld.exe: region `irom0_0_seg' overflowed by 999 bytes
Who is online
Users browsing this forum: No registered users and 26 guests
Login
Newbies Start Here
Are you new to ESP8266?
Unsure what to do?
Dunno where to start?
Start right here!
Latest SDK
Documentation
Complete listing of the official ESP8266 related documentation release by ESPRESSIF!
Must read here!
- All times are UTC+08:00
- Top
- Delete all board cookies
About Us
Espressif Systems is a fabless semiconductor company providing cutting-edge low power WiFi SoCs and wireless solutions for wireless communications and Internet of Things applications. We are the manufacturer of ESP8266EX.