We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b28f87e commit 6a2e21dCopy full SHA for 6a2e21d
arch/xtensa/src/esp32/esp32_allocateheap.c
@@ -210,7 +210,7 @@ void xtensa_add_region(void)
210
availregions = 2;
211
#endif
212
213
-#ifdef CONFIG_ESP32_SPIRAM_COMMON_HEAP
+#if defined(CONFIG_ESP32_SPIRAM_COMMON_HEAP) && !defined(MM_USER_HEAP_EXTRAM)
214
availregions++;
215
216
@@ -242,7 +242,7 @@ void xtensa_add_region(void)
242
MM_ADDREGION(start, size);
243
244
245
246
#ifdef CONFIG_XTENSA_EXTMEM_BSS
247
start = (void *)(_ebss_extmem);
248
size = CONFIG_HEAP2_SIZE - (size_t)(_ebss_extmem - _sbss_extmem);
0 commit comments