9 releases

0.1.8 Aug 21, 2023
0.1.7 May 19, 2023
0.1.6 Apr 7, 2023
0.1.5 Jul 26, 2022
0.1.1 Feb 24, 2022

#366 in Embedded development

35 downloads per month

MIT/Apache

180KB
3.5K SLoC

Stackdump-cli

crates.io Documentation

Command line program for tracing dumps.

Also see the main repo readme.

This is made mostly for convenience and as an example for using the trace crate. If you need to trace inside your own software, please use the library and not this CLI.

The program can be installed with:

cargo install stackdump-cli

Then you can use the help to see your options:

stackdump-cli --help

The cli only supports dumps in the format of the byte iterator. You can have multiple memory regions and register datas in one file.

Example

To trace a cortex-m dump, use the following command:

# Generic
stackdump-cli cortex-m <ELF_FILE> [DUMP_FILES..]

# Specific
stackdump-cli cortex-m .\examples\data\nrf52840 .\examples\data\nrf52840.dump

Dependencies

~30–46MB
~650K SLoC