File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change 22
22
#define MICROPY_NLR_SETJMP (1)
23
23
#define CIRCUITPY_DEFAULT_STACK_SIZE 0x6000
24
24
25
+ // PSRAM can require more stack space for GC.
26
+ #define MICROPY_ALLOC_GC_STACK_SIZE (128)
27
+
25
28
// Nearly all boards have this because it is used to enter the ROM bootloader.
26
29
#ifndef CIRCUITPY_BOOT_BUTTON
27
30
#if defined(CONFIG_IDF_TARGET_ESP32C2 ) || defined(CONFIG_IDF_TARGET_ESP32C3 ) || defined(CONFIG_IDF_TARGET_ESP32C6 ) || defined(CONFIG_IDF_TARGET_ESP32H2 )
Original file line number Diff line number Diff line change 14
14
15
15
#ifdef PICO_RP2350
16
16
#define MICROPY_PY_SYS_PLATFORM "RP2350"
17
+
18
+ // PSRAM can require more stack space for GC.
19
+ #define MICROPY_ALLOC_GC_STACK_SIZE (128)
17
20
#endif
18
21
19
22
// Setting a non-default value also requires a non-default link.ld
You can’t perform that action at this time.
0 commit comments