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
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
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;