Esptool

This Component provides Espressif’s tool for reading and writing firmware and other data to hardware.

Options

SPI_SPEED

[read-only] Set by Hardware configuration.

Clock speed for flash memory (20, 26, 40 or 80). Default is 40.

SPI_MODE

[read-only] Set by Hardware configuration.

Flash memory operating mode (quot, dio, dout, qio). Default is qio.

SPI_SIZE

[read-only] Set by Hardware configuration.

Size of flash memory chip (256KB, 512KB, 1MB, 2MB, 4MB). Default is 512K bytes.

The default hardware profile standard sets this to 1MB. You can set HWCONFIG=standard-4m to increase it or create a custom Hardware configuration for your project.

ESPTOOL

Full path of esptool.py

COM_PORT_ESPTOOL

Port to use for flashing device. Default is COM_PORT.

COM_SPEED_ESPTOOL

Baud rate to use for flashing device. Default is COM_SPEED.

References

Used by

Environment Variables

SoC support

  • esp32

  • esp32c3

  • esp32s2

  • esp32s3

  • esp8266

Submodule: esptool