1
0
Fork 0
mirror of https://github.com/zephyrproject-rtos/zephyr.git synced 2025-11-14 08:49:08 +01:00
[HOW TO] Generate a binary footprint for a basic Zephyr application
Maciej Perkowski edited this page 2020-11-16 12:21:27 +01:00

To generate a binary footprint for your board use that sequence of actions:

  1. Verify that you are using Zephyr RTOS Release v2.4.0.

    $ git checkout 7a3b253

  2. Verify that your version of west is v0.7.3 or higher

    $ west --version

  3. Build an application using the command:

    $ west build -b <your_board_name> tests/benchmarks/footprints/

  4. To view the ROM results output run.

    $ west build -t rom_report

    The result will be a list of all compiled objects and their ROM usage in a tabular form with bytes per symbol and the percentage it uses.

  5. To view the RAM results output run.

    $ west build -t ram_report

    The result will be a list of all compiled objects and their RAM usage in a tabular form with bytes per symbol and the percentage it uses.