CCSTUDIO: Stack Usage and Memory Allocation views via CLI

Part Number: CCSTUDIO

Tool/software:

Hi - We're currently in the process of re-configuring our CCS project to a self-managed build environment and we're wondering if there is a way to invoke the CCS Stack Usage and Memory Allocation tools from the CLI so that it can be run as part of our build system rather than only viewed when opening CCS.

From the looks of it, it seems like memory allocation information is present in the linkInfo.xml file and the stack usage info is present when running the OFD2000 command, but both still require generation of a custom script to be as useful as the two views in CCS. We are hoping for just a different invocation of the tool used in CCS.

Any thoughts or possible solutions?

  • Hello,

    Both tools are only available from the CCS IDE. The functionality is built it to the view itself. It is not possible to generate a related report from CLI.

    For the stack usage, I found this comment from a colleague:

    consider using the --call_graph option of tiarmofd.  As that link explains, it is designed to be used with the stack usage view in CCS.  But you could consider processing the XML with your own script.

    Thanks

    ki