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 5c9bee0 commit 17c9d2bCopy full SHA for 17c9d2b
ports/rp2/mpconfigport.h
@@ -71,8 +71,16 @@
71
#define MICROPY_CONFIG_ROM_LEVEL (MICROPY_CONFIG_ROM_LEVEL_EXTRA_FEATURES)
72
#endif
73
74
+#ifndef MICROPY_HW_ENABLE_PSRAM
75
+#define MICROPY_HW_ENABLE_PSRAM (0)
76
+#endif
77
+
78
// Memory allocation policies
79
+#if MICROPY_HW_ENABLE_PSRAM
80
+#define MICROPY_GC_STACK_ENTRY_TYPE uint32_t
81
+#else
82
#define MICROPY_GC_STACK_ENTRY_TYPE uint16_t
83
84
#ifndef MICROPY_GC_SPLIT_HEAP
85
#define MICROPY_GC_SPLIT_HEAP (0) // whether PSRAM is added to or replaces the heap
86
0 commit comments