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 2222#define MICROPY_NLR_SETJMP (1)
2323#define CIRCUITPY_DEFAULT_STACK_SIZE 0x6000
2424
25+ // PSRAM can require more stack space for GC.
26+ #define MICROPY_ALLOC_GC_STACK_SIZE (128)
27+
2528// Nearly all boards have this because it is used to enter the ROM bootloader.
2629#ifndef CIRCUITPY_BOOT_BUTTON
2730 #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 1414
1515#ifdef PICO_RP2350
1616#define MICROPY_PY_SYS_PLATFORM "RP2350"
17+
18+ // PSRAM can require more stack space for GC.
19+ #define MICROPY_ALLOC_GC_STACK_SIZE (128)
1720#endif
1821
1922// Setting a non-default value also requires a non-default link.ld
You can’t perform that action at this time.
0 commit comments