Skip to content

Commit f759d15

Browse files
committed
bricks/primehub: increase heap to 256K
This still leaves 64K for static/global variables and stack. Issue #19
1 parent 6b48ad4 commit f759d15

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bricks/primehub/mpconfigport.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
#define MICROPY_HW_BOARD_NAME "SPIKE Prime Hub"
77
#define MICROPY_HW_MCU_NAME "STM32F413VG"
88

9-
#define PYBRICKS_HEAP_KB 64 // half of RAM
9+
#define PYBRICKS_HEAP_KB 256
1010

1111
#define PYBRICKS_HUB_PRIMEHUB (1)
1212

0 commit comments

Comments
 (0)