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 c3dc0b1 commit 679f4b3Copy full SHA for 679f4b3
ports/espressif/supervisor/port.c
@@ -81,7 +81,17 @@
81
#include "esp32/spiram.h"
82
#endif
83
84
+// Heap sizes for when there is no external RAM for CircuitPython to use
85
+// exclusively.
86
+#ifdef CONFIG_IDF_TARGET_ESP32S2
87
#define HEAP_SIZE (48 * 1024)
88
+#endif
89
+#ifdef CONFIG_IDF_TARGET_ESP32S3
90
+#define HEAP_SIZE (176 * 1024)
91
92
+#ifdef CONFIG_IDF_TARGET_ESP32C3
93
+#define HEAP_SIZE (88 * 1024)
94
95
96
uint32_t *heap;
97
uint32_t heap_size;
0 commit comments