-
Notifications
You must be signed in to change notification settings - Fork 6.8k
[HOW TO] Generate a binary footprint for a basic Zephyr application
Maciej Perkowski edited this page Nov 16, 2020
·
1 revision
To generate a binary footprint for your board use that sequence of actions:
-
Verify that you are using Zephyr RTOS Release v2.4.0.
$ git checkout 7a3b253
-
Verify that your version of west is v0.7.3 or higher
$ west --version
-
Build an application using the command:
$ west build -b <your_board_name> tests/benchmarks/footprints/
-
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.
-
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.
© 2018-2023 Zephyr® Project. Zephyr is a trademark of the Linux Foundation.
Zephyr Project Home | Documentation Home | Mailing lists
Zephyr Project Home | Documentation Home | Mailing lists