flash mmap: fix bug for cache2phys and phys2cache on esp32s2

This commit is contained in:
jiangguangming
2020-04-20 19:35:16 +08:00
parent b734893124
commit b25ccde45f
5 changed files with 171 additions and 2 deletions

View File

@@ -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();