From 7833f609756738bf112f60e204aed314ae5f5adf Mon Sep 17 00:00:00 2001 From: JurajSadel <43887390+JurajSadel@users.noreply.github.com> Date: Fri, 1 Oct 2021 10:04:42 +0200 Subject: [PATCH] README.md: add instructions to rust-esp32-example how to produce table of footprints (#35) Co-authored-by: Juraj Sadel --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/README.md b/README.md index e347af4..9b0e405 100644 --- a/README.md +++ b/README.md @@ -102,3 +102,17 @@ To exit the monitor, press `Ctrl-]`. ```sh openocd -f board/esp32-wrover-kit-3.3v.cfg ``` + +## Table of footprints + +Print the memory statistics of the project: + +```sh +idf.py size-files +``` + +or in `json` format: + +```sh +$IDF_PATH/tools/idf_size.py --files --json build/esp32-hello-rust.map +```