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/