mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-09 12:35:28 +00:00
Use configuration option instead of in components not related to FreeRTOS
Mergeshttps://github.com/espressif/esp-idf/pull/12481
This commit is contained in:
@@ -126,7 +126,7 @@ const size_t soc_memory_region_count = sizeof(soc_memory_regions)/sizeof(soc_mem
|
||||
These are removed from the soc_memory_regions array when heaps are created.
|
||||
*/
|
||||
SOC_RESERVE_MEMORY_REGION(SOC_CACHE_PRO_LOW, SOC_CACHE_PRO_HIGH, cpu0_cache);
|
||||
#ifndef CONFIG_FREERTOS_UNICORE
|
||||
#ifndef CONFIG_ESP_SYSTEM_SINGLE_CORE_MODE
|
||||
SOC_RESERVE_MEMORY_REGION(SOC_CACHE_APP_LOW, SOC_CACHE_APP_HIGH, cpu1_cache);
|
||||
#endif
|
||||
|
||||
@@ -147,7 +147,7 @@ SOC_RESERVE_MEMORY_REGION(SOC_CACHE_APP_LOW, SOC_CACHE_APP_HIGH, cpu1_cache);
|
||||
*/
|
||||
|
||||
SOC_RESERVE_MEMORY_REGION(0x3ffe0000, 0x3ffe0440, rom_pro_data); //Reserve ROM PRO data region
|
||||
#ifndef CONFIG_FREERTOS_UNICORE
|
||||
#ifndef CONFIG_ESP_SYSTEM_SINGLE_CORE_MODE
|
||||
SOC_RESERVE_MEMORY_REGION(0x3ffe3f20, 0x3ffe4350, rom_app_data); //Reserve ROM APP data region
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user