README.md: add instructions to rust-esp32-example how to produce table of footprints (#35)

Co-authored-by: Juraj Sadel <juraj.sadel@espressif.com>
This commit is contained in:
JurajSadel 2021-10-01 10:04:42 +02:00 committed by GitHub
parent ce93c6dfe5
commit 7833f60975
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 14 additions and 0 deletions

View File

@ -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
```