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.0.tar.gz (61.9 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.0-py3-none-any.whl (68.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: esp_idf_size-2.2.0.tar.gz
  • Upload date:
  • Size: 61.9 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.0.tar.gz
Algorithm Hash digest
SHA256 4b197e8fd11c7bc63f4df179d60b3622b411f5ea4db933911b89cda5ae37dddf
MD5 91957317ab20d15db1bd9a959cfa6f82
BLAKE2b-256 0d1944cafb8a50a394993f63f064bdb0f6f9a3725808dd4e6a20d6770e398043

See more details on using hashes here.

Provenance

The following attestation bundles were made for esp_idf_size-2.2.0.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.0-py3-none-any.whl.

File metadata

  • Download URL: esp_idf_size-2.2.0-py3-none-any.whl
  • Upload date:
  • Size: 68.2 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3b4a81f673957053acaae33cc7dbe2c4b8794e793bde5602ece123c427832bff
MD5 e452a3fa7426352ff42c3d21155a314b
BLAKE2b-256 a31d63ae353b1f1f59777f6b93716a7118785269f373f504a3ee7799d44c4d5a

See more details on using hashes here.

Provenance

The following attestation bundles were made for esp_idf_size-2.2.0-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