Chapter 2. API Reference
This value is ignored when using the CMake-based build system or idf.py.
Available options:
• 115200 baud (ESPTOOLPY_BAUD_115200B)
• 230400 baud (ESPTOOLPY_BAUD_230400B)
• 921600 baud (ESPTOOLPY_BAUD_921600B)
• 2Mbaud (ESPTOOLPY_BAUD_2MB)
• Other baud rate (ESPTOOLPY_BAUD_OTHER)
CONFIG_ESPTOOLPY_BAUD_OTHER_VAL
Other baud rate value
Found in: Serial flasher config
Default value:
• 115200
CONFIG_ESPTOOLPY_COMPRESSED
Use compressed upload
Found in: Serial flasher config
The flasher tool can send data compressed using zlib, letting the ROM on the ESP chip decompress it
on the fly before flashing it. For most payloads, this should result in a speed increase.
Default value:
• Yes (enabled)
CONFIG_ESPTOOLPY_NO_STUB
Disable download stub
Found in: Serial flasher config
The flasher tool sends a precompiled download stub first by default. That stub allows things like com-
pressed downloads and more. Usually you should not need to disable that feature
Default value:
• No (disabled)
CONFIG_ESPTOOLPY_FLASHMODE
Flash SPI mode
Found in: Serial flasher config
Mode the flash chip is flashed in, as well as the default mode for the binary to run in.
Available options:
• QIO (ESPTOOLPY_FLASHMODE_QIO)
• QOUT (ESPTOOLPY_FLASHMODE_QOUT)
• DIO (ESPTOOLPY_FLASHMODE_DIO)
• DOUT (ESPTOOLPY_FLASHMODE_DOUT)
• OPI (ESPTOOLPY_FLASHMODE_OPI)
CONFIG_ESPTOOLPY_FLASH_SAMPLE_MODE
Flash Sampling Mode
Found in: Serial flasher config
Available options:
Espressif Systems 1077
Submit Document Feedback
Release v4.4