Skip to main content

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 --ng flag and ESP_IDF_SIZE_NG environment variable are no longer needed
  • Output formats may differ from the legacy version (json vs json2)

Migration Guide:

  • Remove --ng flags from your commands - the new functionality is now default
  • Update any imports from esp_idf_size.ng to esp_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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

esp_idf_size-2.2.1.tar.gz (62.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

esp_idf_size-2.2.1-py3-none-any.whl (69.1 kB view details)

Uploaded Python 3

File details

Details for the file esp_idf_size-2.2.1.tar.gz.

File metadata

  • Download URL: esp_idf_size-2.2.1.tar.gz
  • Upload date:
  • Size: 62.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for esp_idf_size-2.2.1.tar.gz
Algorithm Hash digest
SHA256 ea3f6a018db5ff167d00be6348ca096993f2b57287fcff862eebd198d1235a76
MD5 fc7ae47e88f68c5509e28d0b7f62d1bb
BLAKE2b-256 957bddd861fde31e00463661a3d607952cd5142226f87955da9303008c3fa9d0

See more details on using hashes here.

Provenance

The following attestation bundles were made for esp_idf_size-2.2.1.tar.gz:

Publisher: release_pypi.yml on espressif/esp-idf-size

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file esp_idf_size-2.2.1-py3-none-any.whl.

File metadata

  • Download URL: esp_idf_size-2.2.1-py3-none-any.whl
  • Upload date:
  • Size: 69.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for esp_idf_size-2.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 bcebb89089c3f27258148ff80823063db13c7caeebfc9c0f97ca8029ff8cd479
MD5 d0263ae4b2610af43676df2d7a5c2708
BLAKE2b-256 a60efa9f9ea5d7e7ef74d1c289491056e1a7267205b03dcff8eeb10c4c388dfc

See more details on using hashes here.

Provenance

The following attestation bundles were made for esp_idf_size-2.2.1-py3-none-any.whl:

Publisher: release_pypi.yml on espressif/esp-idf-size

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page