.irom.text will not fit in region irom0_0_seg

crosofg
Posts: 16
Joined: Wed Aug 26, 2015 1:59 pm

.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

ESP_Faye
Posts: 1646
Joined: Mon Oct 27, 2014 11:08 am

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

crosofg
Posts: 16
Joined: Wed Aug 26, 2015 1:59 pm

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

marhc_seven
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

User avatar
kolban
Posts: 131
Joined: Tue Jun 16, 2015 1:09 pm
Location: Fort Worth, Texas, USA

Re: .irom.text will not fit in region irom0_0_seg

Postby kolban » Mon Nov 09, 2015 1:59 pm

It is possible that this thread might also be applicable to your question?

viewtopic.php?f=7&t=1339

Who is online

Users browsing this forum: No registered users and 139 guests