esp32s3: Add support for reusing RTC memory as heap

This commit is contained in:
Angus Gratton 2021-03-04 10:05:21 +11:00
parent 7f0fc3a37b
commit bfa9ec70f2

View File

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