We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi,
I am porting some GCC code that deals with the stack.
I have found that Stack_Mem and Stack_Size are predefined in startup_lcp17xx.s.
Their values can be taken in the C code and it seems that Stack_Mem is allocated at the RAM bottom (0x10000148), but it was supposed to be at the RAM top.
My code depends on the top position.
Can someone point me to a fix?
I recommend comparing the LPC1768 example projects offered by the Pack Installer of Keil MDK:
https://www2.keil.com/mdk5/packinstaller/