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

LPC1768 stack on uVision 5.25

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?