Find out how much stack is being used
I tried the FAQ idea "How do I find out how much stack my program uses?" but the stack is not initialized. I'm using Crossstudio 1.4 Build 3 programming a MSP430f1611. In this case the preprocessor definition that should be used is INITIALIZE_STACKS or INITIALIZE_STACK ? I tried them both in the preprocessor options of crt0.asm but neither worked: when I inspect the memory just below 0x3900 there is random data, not the expected 0xCC watermark byte. What am I doing wrong?
Thanks.
Please sign in to leave a comment.
Comments
7 comments