I am using the S32K144 EVB and am seeing this issue when I set a variable to static. How can I configure the linker to fix this:
section .stack VMA [20006c00,20006fff] overlaps section .heap VMA [200068ec,20006cef]
Nevermind I figured out my issue. So I was using heap 1 for memory management, but using the static allocation for RTOS queues, task and timers. So there was memory allocated statically by me and some put aside for dynamic allocation by RTOS. Therefore, I was running out of memory. So I just switched to heap 4 strategy and turned off dynamic allocation. Hope this helps someone.
Hello,
I think you modify the linker and in some way the stack/bss section overlap, usually in the SDK examples, if you did not define the customSection in the linker the bss will start in the 0x2000 0000 section.Can you let me know which S32K device are you using to check how much SRAM do you have available?
Best Regards,
Alexis Andalon