We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3803cad commit aa7b015Copy full SHA for aa7b015
cores/esp32/esp32-hal-psram.c
@@ -77,9 +77,9 @@ bool psramInit(){
77
log_e("PSRAM could not be added to the heap!");
78
return false;
79
}
80
-#endif
81
-#if CONFIG_SPIRAM_MALLOC_ALWAYSINTERNAL
+#if CONFIG_SPIRAM_MALLOC_ALWAYSINTERNAL && !CONFIG_ARDUINO_ISR_IRAM
82
heap_caps_malloc_extmem_enable(CONFIG_SPIRAM_MALLOC_ALWAYSINTERNAL);
+#endif
83
#endif
84
spiramDetected = true;
85
log_d("PSRAM enabled");
0 commit comments