AnsweredAssumed Answered

Malloc size change frdm-64 using Mcuxpresso

Question asked by Jos Rennies on Mar 17, 2020
Latest reply on Mar 18, 2020 by Jos Rennies

I am using an FRDM-K64F board with the MCUXPRESSO IDE.
My application uses a lot of memory by malloc, so I need +-128K Ram size using malloc. When using the standard settings (see below for more details), there is no way to go above 64K that I can ask, using malloc.
Question : how do I instruct the compiler/system to give me more memory from malloc (physically there should be plenty). My application uses some 16K of ram by declaration in the main, and works fine, the problem comes from the limit on malloc  during run time, which limits to 64K.
Some useful tips or solution would be appreciated.


Here some information:

Product: MCUXpresso IDE
Version: MCUXpresso IDE v11.0.0 [Build 2516] [2019-06-05]
Operating system: Windows 7
VM: Java HotSpot(TM) 64-Bit Server VM (64 bit)