...change the stack size of my application?

Comments

6 comments

  • Avatar
    Jacob Lillie

    That seemed to do the trick. Thanks.

    0
    Comment actions Permalink
  • Avatar
    Jean-Francois Roy

    How can I change the stack with MSP430? this property seems not to be existant for version 2.1

    0
    Comment actions Permalink
  • Avatar
    Paul Curtis

    For MSP430 the stack pointer is initialized to the end of RAM.

    0
    Comment actions Permalink
  • Avatar
    Jean-Francois Roy

    ok, and how do I know where it stops?

    0
    Comment actions Permalink
  • Avatar
    Paul Curtis

    The lowest address the stack pointer can take is the highest address of the statically-allocated variables.  IOW, if it crashes into your variables, you're hosed.

    0
    Comment actions Permalink
  • Avatar
    Raymond Wales

    After changing the stack size, you might need to force a re-assemble of thumb_crt0.s (open it for editing, then Ctrl+F7) before the changed stack allocation manifests in the project.  Took me a while to figure this out!

    0
    Comment actions Permalink

Please sign in to leave a comment.