refactor(flash): spilt flash cap in esp_rom

This commit is contained in:
Chen Jichang
2025-03-27 15:51:17 +08:00
parent 6c4271d4bb
commit 1785e1d329
21 changed files with 52 additions and 43 deletions

View File

@@ -55,6 +55,10 @@ config ESP_ROM_HAS_SPI_FLASH
bool
default y
config ESP_ROM_HAS_SPI_FLASH_MMAP
bool
default y
config ESP_ROM_HAS_ETS_PRINTF_BUG
bool
default y

View File

@@ -19,6 +19,7 @@
#define ESP_ROM_NEEDS_SWSETUP_WORKAROUND (1) // ROM uses 32-bit time_t. A workaround is required to prevent printf functions from crashing
#define ESP_ROM_HAS_LAYOUT_TABLE (1) // ROM has the layout table
#define ESP_ROM_HAS_SPI_FLASH (1) // ROM has the implementation of SPI Flash driver
#define ESP_ROM_HAS_SPI_FLASH_MMAP (1) // ROM has the implementation of SPI Flash mmap driver
#define ESP_ROM_HAS_ETS_PRINTF_BUG (1) // ROM has ets_printf bug when disable the ROM log either by eFuse or RTC storage register
#define ESP_ROM_HAS_NEWLIB (1) // ROM has newlib (at least parts of it) functions included
#define ESP_ROM_HAS_NEWLIB_NANO_FORMAT (1) // ROM has the newlib nano version of formatting functions