Kconfig 789 B

123456789101112131415161718192021222324
  1. menu "SPI Flash driver"
  2. config SPI_FLASH_ENABLE_COUNTERS
  3. bool "Enable operation counters"
  4. default 0
  5. help
  6. This option enables the following APIs:
  7. spi_flash_reset_counters
  8. spi_flash_dump_counters
  9. spi_flash_get_counters
  10. These APIs may be used to collect performance data for spi_flash APIs
  11. and to help understand behaviour of libraries which use SPI flash.
  12. config SPI_FLASH_ROM_DRIVER_PATCH
  13. bool "Enable SPI flash ROM driver patched functions"
  14. default y
  15. help
  16. Enable this flag to use patched versions of SPI flash ROM driver functions.
  17. This option is needed to write to flash on ESP32-D2WD, and any configuration
  18. where external SPI flash is connected to non-default pins.
  19. endmenu