components/spi_flash/include/esp_flash_chips/README.md
This directory contains header files for implementing custom SPI flash chip drivers. These headers are semi-public - they are intended for expert users who need to implement custom chip drivers for unsupported flash chips, but they are not considered stable API and may change without notice.
These headers are provided for:
⚠️ These headers are NOT stable API
⚠️ Use at your own risk
spi_flash_chip_driver.h - Core chip driver interface definitionsesp_flash_types.h - Internal flash type definitionsspi_flash_chip_*.h - Header files for specific chip driver implementations that you may reuse (especially the generic driver)spi_flash_override.h - Flash override configuration structures for those parts outside the scope of esp_flash driver, usually used in the startup code✅ Appropriate use cases:
See example on how to implement the driver for a custom flash chip.
❌ Not appropriate for:
esp_flash.h instead)