Skip to content

Commit d09ca3a

Browse files
committed
bricks/technichub: set heap to 48K
This still leaves 16K for static/global variables and stack. Also fix alignment while we are touching this code.
1 parent f759d15 commit d09ca3a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bricks/technichub/mpconfigport.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
#define MICROPY_HW_BOARD_NAME "LEGO Technic Hub"
77
#define MICROPY_HW_MCU_NAME "STM32L431RC"
88

9-
#define PYBRICKS_HEAP_KB 16
9+
#define PYBRICKS_HEAP_KB 48
1010

11-
#define PYBRICKS_HUB_TECHNICHUB (1)
11+
#define PYBRICKS_HUB_TECHNICHUB (1)
1212

1313
// Pybricks modules
1414
#define PYBRICKS_PY_COMMON (1)

0 commit comments

Comments
 (0)