Reserving sram, placing stack at top of ram

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • Reserving sram, placing stack at top of ram

    Hello,

    I want to place stack at absolute top of available memory, the linker script places it above .heap, and heap is placed above .non_init

    I could fudge it be setting heap size to fill the gap between .non_init and .stack

    Can anyone suggest how to push stack to the top of memory?

    Cheers
    Martin McD