This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

MSP432P401R: GNU compiler stack size change.

Part Number: MSP432P401R

Hello all,

Stack Pointer starting position is 0x20004000 in memory map as per datasheet. and one array ends at 0x20004460. so there is a clash in Array and stack pointer. Someone please let me know where and how should I define stack size in Msp432p401r, in the GNU compiler. I am attaching photo of both in memory map to better understand. Thanks.

  • Hi,

    We will look into it and get back to you ASAP. Please bear with us.

    Thanks,

    PM

  • The map file is read only because its generated as output from the linking process.

    As for the stack pointer, I'm not sure I understand the problem. Generally, the stack pointer starts at the top of stack space and grows down (decrements). An array in memory above that address should not be touched by the stack.

    If I've misunderstood, we can discuss options for relocating memory segments.

**Attention** This is a public forum