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

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

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

3,507 次查看
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,479 次查看
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,504 次查看
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 项奖励
回复