This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

STM32F103 RTX Using External Memory for Stack and Heap

How do I setup Keil uVision to use external memory for stack and heap functionality?

From what I have gather reading various posts on the forum the order of processor execution is:

Startup.s -> __main -> __rt_entry -> C main()

From what I understand I would have to modify this by adding processor and FSMC bus initialization:

Startup.s -> Call SystemInit_ExtMemCtl -> __main -> __rt_entry -> C main()

Does Keil provide any example code for this in their directories, c:\Keil, which is the default installation path?

Has anyone done this successfully for this target?

0