mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-09 12:35:28 +00:00
flash mmap: fix bug for cache2phys and phys2cache on esp32s2
This commit is contained in:
@@ -199,6 +199,15 @@ void IRAM_ATTR call_start_cpu0(void)
|
||||
}
|
||||
#endif
|
||||
|
||||
#if CONFIG_SPIRAM_FETCH_INSTRUCTIONS
|
||||
extern void instruction_flash_page_info_init(void);
|
||||
instruction_flash_page_info_init();
|
||||
#endif
|
||||
#if CONFIG_SPIRAM_RODATA
|
||||
extern void rodata_flash_page_info_init(void);
|
||||
rodata_flash_page_info_init();
|
||||
#endif
|
||||
|
||||
#if CONFIG_SPIRAM_FETCH_INSTRUCTIONS
|
||||
extern void esp_spiram_enable_instruction_access(void);
|
||||
esp_spiram_enable_instruction_access();
|
||||
|
Reference in New Issue
Block a user