K-FSW v1.2.1-59-gcaca356
KFSW: modular flight software on Zephyr, for small satellites
Loading...
Searching...
No Matches
Memory footprint

Table of Contents

Where the flash and the RAM of the NUCLEO-L496ZG image go, per directory, file and symbol. The reports come from Zephyr's rom_report and ram_report build targets and are drawn as sunbursts: click a ring to zoom into it.

The published reports are generated by the Pages workflow (.github/workflows/pages.yml) from the revision the site was built from; a local documentation build does not include them. They measure the NUCLEO because it is the reference MCU composition; a native_sim image is a host program, so its sizes say nothing about a board. On the NUCLEO, RAM fills before flash: compare the FLASH and RAM lines of the memory report the linker prints at the end of tools/build.sh nucleo_l496zg.

Running them

From the workspace root, with plotly in the virtual environment (./.venv/bin/pip install plotly):

./k-fsw/tools/ci/footprint.sh

It builds the NUCLEO and writes build/footprint/{rom,ram}.{html,txt}. KFSW_FOOTPRINT_TARGET measures another target. For one report only:

west build -d build/nucleo_l496zg -t ram_report

puncover

puncover adds call graphs and stack use per function. It runs as a local web server rather than producing a page, so it is not published here:

./.venv/bin/pip install puncover
west build -d build/nucleo_l496zg -t puncover

Then open the address it prints. See Zephyr's optimization tools.