Skip to content

Commit d5de9ee

Browse files
committed
Enable split heap and increase GC stack size of Thing Plus and Pro Micro RP2350
Temporary until these defaults are set in the PSRAM PR
1 parent c9bc886 commit d5de9ee

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

ports/rp2/boards/SPARKFUN_PROMICRO_RP2350/mpconfigboard.h

+2
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,5 @@
2424

2525
#define MICROPY_HW_PSRAM_CS_PIN (19)
2626
#define MICROPY_HW_ENABLE_PSRAM (1)
27+
#define MICROPY_GC_SPLIT_HEAP (1)
28+
#define MICROPY_ALLOC_GC_STACK_SIZE (1024)

ports/rp2/boards/SPARKFUN_THINGPLUS_RP2350/mpconfigboard.h

+2
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,7 @@
3333

3434
#define MICROPY_HW_PSRAM_CS_PIN (8)
3535
#define MICROPY_HW_ENABLE_PSRAM (1)
36+
#define MICROPY_GC_SPLIT_HEAP (1)
37+
#define MICROPY_ALLOC_GC_STACK_SIZE (1024)
3638

3739
#include "enable_cyw43.h"

0 commit comments

Comments
 (0)