mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-16 06:54:22 +00:00
make spiram work
This commit is contained in:
@@ -139,11 +139,6 @@ void IRAM_ATTR call_start_cpu0(void)
|
||||
extern void esp_config_instruction_cache_mode(void);
|
||||
esp_config_instruction_cache_mode();
|
||||
|
||||
/* copy MMU table from ICache to DCache, so we can use DCache to access rodata later. */
|
||||
#if CONFIG_ESP32S2_RODATA_USE_DATA_CACHE
|
||||
MMU_Drom0_I2D_Copy();
|
||||
#endif
|
||||
|
||||
/* If we need use SPIRAM, we should use data cache, or if we want to access rodata, we also should use data cache.
|
||||
Configure the mode of data : cache size, cache associated ways, cache line size.
|
||||
Enable data cache, so if we don't use SPIRAM, it just works. */
|
||||
|
Reference in New Issue
Block a user