Stack Size Estimation

前端 未结 10 1607
醉酒成梦
醉酒成梦 2020-12-02 11:30

In multi-threaded embedded software (written in C or C++), a thread must be given enough stack space in order to allow it to complete its operations without overflowing. Co

10条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-02 12:08

    Not 100% sure, but I think this may also be done. If you have a jtag port exposed, you can connect to Trace32 and check the maximum stack usage. Though for this, you will have to give an initial pretty big arbitrary stack size.

提交回复
热议问题