Error: will not fit in region `iram1_0_seg'

iolaso
Posts: 12
Joined: Thu Apr 14, 2016 2:48 pm

Error: will not fit in region `iram1_0_seg'

Postby iolaso » Thu Apr 14, 2016 3:42 pm

Hi,

I´m Trying to compile a project with RTOS SDK v1.4.0, but this message that I have no IRAM memory space appears .
-How can I fix it?
-Is there any way to expand IRAM memory?


I'm trying to save variables in the rom by "ICACHE_RODATA_ATTR" but the console shows me this message: Free IRaM: -188 or 16196 if 48K IRam.

I like to know where can I get the datasheet of the "Tensilica L106 DiamondTensilica L106 Diamond MCU" with the information memory mapping , etc ...

Thanks in advance!!!

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

Re: Error: will not fit in region `iram1_0_seg'

Postby ESP_Faye » Mon Apr 18, 2016 8:49 pm

Hi,

Did you add "IRAM_ATTR" before your user functions?
The "IRAM_ATTR" definition will put the function into iram.

Who is online

Users browsing this forum: No registered users and 14 guests