refactor(spi_flash): not patching api_funcs on C3 and S3

This commit is contained in:
Xiao Xufeng
2026-02-05 03:47:28 +08:00
committed by Michael (XIAO Xufeng)
parent f675a1888a
commit e2f3ee5800
3 changed files with 65 additions and 15 deletions

View File

@@ -97,6 +97,16 @@ esp_err_t esp_flash_app_disable_os_functions(esp_flash_t* chip);
#if CONFIG_SPI_FLASH_ROM_IMPL
/**
* @brief Initialize ROM API functions structure
*
* This function initializes the ROM API functions structure, either by pointing
* to a custom structure or by patching the ROM structure in RAM.
*/
void esp_flash_rom_api_funcs_init(void);
#endif // CONFIG_SPI_FLASH_ROM_IMPL
#ifdef __cplusplus
}
#endif