`.bss' will not fit in region `SRAM'

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

`.bss' will not fit in region `SRAM'

3,724件の閲覧回数
lixu
Contributor II

Dear everyone,

I am using S32DS working on MPC5748G.

I ran into the following problems while debugging the project:

Ld error: lwip_1.elf section `.bss' will not fit in region `SRAM'           lwip_1           C/C++ Problem

Ld error: region `SRAM' overflowed by 10992 bytes                         lwip_1           C/C++ Problem

make: *** [makefile:76: lwip_1.elf] Error 1                                          lwip_1           C/C++ Problem

Can you tell me how should I troubleshoot this problem and solve it?

Thanks and best regards,

Li Xu

 

0 件の賞賛
返信
2 返答(返信)

3,696件の閲覧回数
petervlna
NXP TechSupport
NXP TechSupport

Hello,

Are you sure you want to execute the code from RAM? because it looks to me like it wont fit in SRAM.

Try to load it into flash.

best regards,

Peter

0 件の賞賛
返信

3,721件の閲覧回数
lixu
Contributor II

The distribution of SRAM.

/* Define SRAM */
SRAM_BASE_ADDR = DEFINED(__sram_base_addr__) ? __sram_base_addr__ : 0x40000000;
SRAM_SIZE = DEFINED(__sram_size__) ? __sram_size__ : 256K;

 

0 件の賞賛
返信