This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] CC2642R:如何测量最大堆栈使用量

Guru**** 2589300 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/wireless-connectivity/bluetooth-group/bluetooth/f/bluetooth-forum/1371923/cc2642r-how-to-measure-maximum-heap-stack-usage

器件型号:CC2642R

工具/软件:IAR (v9.40.2)

大家好!

我目前使用的是 SDK 版本 simplelink_cc13xx_cc26xx_sdk_7_10_01_24和 IAR 版本9.40.2。
之前、我们在旧的 IAR 版本中使用了 ROV 来进行堆测量。
但是、我知道当前的 IAR 版本不支持 ROV。
因此、作为堆栈的测量方法、我们使用了以下结构和测量方法(在手册中进行了介绍)。

dev.ti.com/.../debugging-index.html

不过、虽然它可以测量堆栈的瞬时使用量、但无法测量最大使用量。
我想知道是否有任何方法来测量堆栈的最大使用量。