Analyze GCC -fstack-usage (.su) files directly in VS Code to catch stack-heavy functions and stack-overflow risks before they hit your target MCU.
Key Features
Automatic Ranking — opens .su files in a sortable table ranked by stack frame size (bytes) with visual bars.
Safety Badges — color-codes static (green), bounded (amber), and dynamic / unbounded (red) stack allocations, with summary cards for total functions, worst-case frame, and dynamic count.
Scan Entire Build Folder — click Scan Build Folder (.su) to recursively aggregate every .su file in your build/ directory into one global ranked table.
Filter & Export — live search by function name, source file, or kind, and Export CSV for stack budget reviews.
Generating .su Files with GCC
Add -fstack-usage to your CFLAGS in CMake or Makefile:
arm-none-eabi-gcc -fstack-usage ...
EmbeddedMap Suite
Part of the EmbeddedMap Pack (MohamedHakeem.embeddedmap-pack):