Drop the firmware .elf and a lastwords export (the .bin, or a UART log with the hex
between ---- export ---- markers, or the text lw_print() wrote). The page decodes the
records and maps pc, lr, mepc, ra and return addresses on the saved stack to function and file:line.
Everything runs in this tab; nothing is uploaded.
waiting for an ELF and an export
Same output as tools/lwdecode.py piped into tools/lwsym.py. ELF32 little-endian,
DWARF 2 to 5 (32-bit DWARF only), checked in CI against binutils addr2line on GCC-built QEMU demo ELFs for Cortex-M0+/M3/M4/M7,
Cortex-M55 TrustZone and RV32. Other compilers may resolve differently. Source:
github.com/tahakocp/lastwords.