Firmware size analysis for ESP-IDF
Project description
esp-idf-size
In the field of IoT development, memory constraints are a common challenge, often requiring developers to optimize their application size. Whether it involves ensuring the firmware fits within available flash memory or analyzing impact of code changes on the final binary size, effective firmware size management is essential for resource efficiency. The esp-idf-size tool provides developers with the means to explore statically allocated RAM used by the final binary firmware image generated by ESP-IDF SDK for Espressif devices.
The esp-idf-size tool is included in the ESP-IDF and is installed
automatically. It can be accessed using the idf.py command or the
idf_size.py wrapper. The idf.py command provides access to the most
commonly used esp-idf-size commands and automatically sets some options for
user convenience, while the idf_size.py wrapper allows full access to all
esp-idf-size features. For more information on using esp-idf-size in
ESP-IDF, please refer to
Minimizing Binary Size.
Starting from version 2.0.0, esp-idf-size uses the new generation (NG)
implementation by default, providing improved performance and additional features
compared to the legacy version.
Breaking Changes in v2.0.0:
- The new generation functionality is now the default behavior
- Legacy
--ngflag andESP_IDF_SIZE_NGenvironment variable are no longer needed - Output formats may differ from the legacy version (
jsonvsjson2)
Migration Guide:
- Remove
--ngflags from your commands - the new functionality is now default - Update any imports from
esp_idf_size.ngtoesp_idf_size - Review and update any scripts that parse the output format
For more detailed information about the available features and options, please refer to the documentation available here.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file esp_idf_size-2.1.0.tar.gz.
File metadata
- Download URL: esp_idf_size-2.1.0.tar.gz
- Upload date:
- Size: 61.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c010472bd89e405aa340815fa7c24ebb4852718f9d576b5b749bea84f21c2051
|
|
| MD5 |
f564aa2c55504c13aadaa88e5bb4f4ba
|
|
| BLAKE2b-256 |
4e682052f458ac58d86a80b4cfe71bbce9c99982f906e36d6f49be2bddb85fdb
|
File details
Details for the file esp_idf_size-2.1.0-py3-none-any.whl.
File metadata
- Download URL: esp_idf_size-2.1.0-py3-none-any.whl
- Upload date:
- Size: 67.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e75bcf1e09dfc3efe8569b50e4130383ecf1e4a08352fb2601aa956a02be54e5
|
|
| MD5 |
b9debeb42d9c0ec96137b782c4c9bd39
|
|
| BLAKE2b-256 |
218dffa145a8cea7ccd0b46d5cab5bc2b3e118ed7f963fe260dd224eba35cf83
|