Chapter 2. API Reference
CONFIG_SPI_FLASH_WRITE_CHUNK_SIZE
Flash write chunk size
Found in:
Component config
Flash write is broken down in terms of multiple (smaller) write operations. This configuration options
helps to set individual write chunk size, smaller value here ensures that cache (and non-IRAM resident
interrupts) remains disabled for shorter duration.
Range:
• from 256 to 8192
Default value:
• 8192
CONFIG_SPI_FLASH_SIZE_OVERRIDE
Override flash size in bootloader header by ESPTOOLPY_FLASHSIZE
Found in:
Component config
SPI Flash driver uses the flash size configured in bootloader header by default. Enable this option to
override flash size with latest ESPTOOLPY_FLASHSIZE value from the app header if the size in the
bootloader header is incorrect.
Default value:
• No (disabled)
CONFIG_SPI_FLASH_CHECK_ERASE_TIMEOUT_DISABLED
Flash timeout checkout disabled
Found in:
Component config
This option is helpful if you are using a flash chip whose timeout is quite large or unpredictable.
Default value:
• No (disabled) if
CONFIG_SPI_FLASH_OVERRIDE_CHIP_DRIVER_LIST
Override default chip driver list
Found in:
Component config
This option allows the chip driver list to be customized, instead of using the default list provided by
ESP-IDF.
When this option is enabled, the default list is no longer compiled or linked. Instead, the de-
fault_registered_chips structure must be provided by the user.
See example: custom_chip_driver under examples/storage for more details.
Default value:
• No (disabled) if
Auto-detect flash chips
•
CONFIG_SPI_FLASH_SUPPORT_BOYA_CHIP
•
CONFIG_SPI_FLASH_SUPPORT_GD_CHIP
•
CONFIG_SPI_FLASH_SUPPORT_ISSI_CHIP
•
CONFIG_SPI_FLASH_SUPPORT_MXIC_CHIP
•
CONFIG_SPI_FLASH_SUPPORT_WINBOND_CHIP
Espressif Systems
>
SPI Flash driver
>
SPI Flash driver
>
SPI Flash driver
CONFIG_SPI_FLASH_USE_LEGACY_IMPL
>
SPI Flash driver
CONFIG_SPI_FLASH_USE_LEGACY_IMPL
Contains:
Submit Document Feedback
1219
Release v4.4
Need help?
Do you have a question about the ESP32-S2 and is the answer not in the manual?
Questions and answers