mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
esp32s3: Add support for reusing RTC memory as heap
This commit is contained in:
parent
7f0fc3a37b
commit
bfa9ec70f2
@ -72,6 +72,9 @@ const soc_memory_region_t soc_memory_regions[] = {
|
|||||||
#if CONFIG_ESP32S3_DATA_CACHE_32KB
|
#if CONFIG_ESP32S3_DATA_CACHE_32KB
|
||||||
{ 0x3FCF0000, 0x8000, 0, 0}, //Level 9, DRAM
|
{ 0x3FCF0000, 0x8000, 0, 0}, //Level 9, DRAM
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef CONFIG_ESP_SYSTEM_ALLOW_RTC_FAST_MEM_AS_HEAP
|
||||||
|
{ 0x50000000, 0x2000, 4, 0}, //Fast RTC memory
|
||||||
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
const size_t soc_memory_region_count = sizeof(soc_memory_regions) / sizeof(soc_memory_region_t);
|
const size_t soc_memory_region_count = sizeof(soc_memory_regions) / sizeof(soc_memory_region_t);
|
||||||
|
Loading…
Reference in New Issue
Block a user