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 7553683 commit 27e61dcCopy full SHA for 27e61dc
cores/esp32/esp32-hal-psram.h
@@ -19,6 +19,17 @@
19
extern "C" {
20
#endif
21
22
+#include "sdkconfig.h"
23
+
24
+#ifndef BOARD_HAS_PSRAM
25
+#ifdef CONFIG_SPIRAM_SUPPORT
26
+#undef CONFIG_SPIRAM_SUPPORT
27
+#endif
28
+#ifdef CONFIG_SPIRAM
29
+#undef CONFIG_SPIRAM
30
31
32
33
bool psramInit();
34
bool psramFound();
35
cores/esp32/esp32-hal.h
@@ -77,12 +77,6 @@ void yield(void);
77
#include "esp32-hal-psram.h"
78
#include "esp32-hal-cpu.h"
79
80
-#ifndef BOARD_HAS_PSRAM
81
-#ifdef CONFIG_SPIRAM_SUPPORT
82
-#undef CONFIG_SPIRAM_SUPPORT
83
-#endif
84
85
-
86
//returns chip temperature in Celsius
87
float temperatureRead();
88
0 commit comments