mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
esp32s2beta: fix some macro and add flash wrap size condition
This commit is contained in:
parent
70df578752
commit
8bea8dacbc
@ -189,7 +189,7 @@ extern void esp_switch_rodata_to_dcache(void);
|
||||
extern void esp_spiram_enable_instruction_access(void);
|
||||
esp_spiram_enable_instruction_access();
|
||||
#endif
|
||||
#if SPIRAM_RODATA
|
||||
#if CONFIG_SPIRAM_RODATA
|
||||
extern void esp_spiram_enable_rodata_access(void);
|
||||
esp_spiram_enable_rodata_access();
|
||||
#endif
|
||||
|
@ -511,6 +511,7 @@ extern uint32_t esp_spiram_rodata_access_enabled();
|
||||
spiram_wrap_sizes[0] = icache_wrap_size;
|
||||
} else {
|
||||
spiram_wrap_sizes[1] = dcache_wrap_size;
|
||||
flash_wrap_sizes[1] = dcache_wrap_size;
|
||||
}
|
||||
#ifdef CONFIG_EXT_RODATA_SUPPORT
|
||||
spiram_wrap_sizes[1] = dcache_wrap_size;
|
||||
|
Loading…
Reference in New Issue
Block a user