AnsweredAssumed Answered

How to use External Memory with FreeRTOS (stack, heap in internal SRAM)

Question asked by ducommun.christophe on Sep 5, 2014
Latest reply on Sep 5, 2014 by Clive One
Hi,
I want to use external SDRAM for data in my project with FreeRTOS.
But I want to keep stack and heap in internal SRAM.

Actually I have two issues :
1) If I use example from ST, stack and heap are placed in external SDRAM which is not very efficient.
2) If you use FreeRTOS, at start it place the stack pointer in internal SRAM and cause a lot of issue because it has been changed before in the startup file in external SDRAM.

Can anyone help me to configure my project with FreeRTOS using external SDRAM memory and keeping stack and heap in internal SRAM ?

Thanks

Outcomes