AnsweredAssumed Answered

Application fails to run when using MCUXpresso style Managed Linker Script

Question asked by uaz on Aug 26, 2018
Latest reply on Aug 27, 2018 by LPCX presso support



I am running Freertos Blinky example on my LPC4357 board.

Everything runs correctly until I changed the Managed Linker Script method to MCUXpresso Style.

After checking, it seems like my freertos malloc (from stdlib.h) failed to allocate 512 bytes when starting the scheduler.


May I know if someone has experienced this before and how to fix it?


This is my Managed Linker Script setting:


This is the output of the build with --print-memory-usage linker option:


Any help would be greatly appreciated.