The stack pointer for stack‘stack’ (currently Memory:0x252) is outside the stack range(Memory:02B0 toMemory:0x300)错误,见图1。 此时程序指针跑飞 ...
最近在 -169LCD(MSP F169,RAM为2KB)调试一些ucos演示例子, for MSP430默认的 是80字节,编译可以通过,运行结果不确定性,调试过程会提示"the stack pointer for stack is outside the stack range", 。那么,到底设置多大的堆栈够用且不浪费呢。 一、合理设置堆栈大小 首先,查看 ...