.heap' will not fit in region `int_sram_c0'

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

.heap' will not fit in region `int_sram_c0'

639 Views
zyc0211
Contributor II

zyc0211_0-1706175611110.png

The S32K322 RM says there is a 512kb SRAM, why does it show a storage overflow here

zyc0211_1-1706175692940.pngzyc0211_2-1706175703945.png

Pls help me,thanks

0 Kudos
Reply
3 Replies

612 Views
VaneB
NXP TechSupport
NXP TechSupport

Hi @zyc0211 

Check the following post. It has information related to the topic that you might find useful. 

can't increase heap size in s32

 

B.R.

VaneB

0 Kudos
Reply

607 Views
zyc0211
Contributor II
Hi, @VaneB
d:/nxp/s32ds.3.5/s32ds/build_tools/gcc_v10.2/gcc-10.2-arm32-eabi/bin/../lib/gcc/arm-none-eabi/10.2.0/../../../../arm-none-eabi/bin/real-ld.exe: section .non_cacheable_data VMA [20404000,20404103] overlaps section .heap VMA [20403590,2040458f]
How to solve this problem?
0 Kudos
Reply

602 Views
VaneB
NXP TechSupport
NXP TechSupport

Hi @zyc0211 

I think you modified the linker and in some way the .non_cacheable_data section overlaps.

0 Kudos
Reply