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 0eee5c4 commit 17d0546Copy full SHA for 17d0546
cores/esp32/esp32-hal-psram.h
@@ -21,7 +21,8 @@ extern "C" {
21
22
#include "sdkconfig.h"
23
24
-#ifndef BOARD_HAS_PSRAM
+// Clear flags in Arduino IDE when PSRAM is disabled
25
+#if defined(ESP32_ARDUINO_LIB_BUILDER) && !defined(BOARD_HAS_PSRAM)
26
#ifdef CONFIG_SPIRAM_SUPPORT
27
#undef CONFIG_SPIRAM_SUPPORT
28
#endif
0 commit comments