Skip to main content

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.

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.3.1.tar.gz (63.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.3.1-py3-none-any.whl (69.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: esp_idf_size-2.3.1.tar.gz
  • Upload date:
  • Size: 63.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for esp_idf_size-2.3.1.tar.gz
Algorithm Hash digest
SHA256 394e3069651e0808188487432c38bff87a8e5a491159ff8b4afd47ab3bb9c19c
MD5 2ffde60f6b0f57dc395df99cf0a214f4
BLAKE2b-256 ec4b21a549cf1c0b36703207c314f6580b4b68246c5b6bd77ef6212e7c63c9dc

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: esp_idf_size-2.3.1-py3-none-any.whl
  • Upload date:
  • Size: 69.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for esp_idf_size-2.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 da78a6eef33b64b033f27fbdccac6cfd8d5df5a0dff8361818ff892219f55ae3
MD5 8f5d227676ae7a234dbad2831949b59f
BLAKE2b-256 093433960caa7e9b3de17d6d9885907f8e92f03385b8d29fe2239d2cc3e9e0d2

See more details on using hashes here.

Provenance

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

Release history Release notifications | RSS feed

This release

2.3.1 This release

2 files

2.3.0

2 files

2.2.1

2 files

2.2.0

2 files

2.1.0

2 files

2.0.0

2 files

1.7.1

2 files

1.6.1

2 files

1.6.0

2 files

1.5.0

2 files

1.4.0

2 files

1.3.0

2 files

1.2.0

2 files

1.1.1

2 files

1.1.0

2 files

1.0.3

2 files

1.0.2

2 files

1.0.1

2 files

1.0.0

2 files

0.4.3

2 files

0.4.2

2 files

0.4.1

2 files

0.4.0

2 files

0.3.1

2 files

0.3.0

2 files

0.2.1

2 files

0.2.0

2 files

0.1.2

2 files

0.1.1

2 files

0.1.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page