Skip to content

Commit e3101ce

Browse files
committed
qemu/boards/SABRELITE: Increase MicroPython heap to 160k.
Signed-off-by: Damien George <[email protected]>
1 parent 78728dc commit e3101ce

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ports/qemu/boards/SABRELITE/mpconfigboard.mk

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ LDSCRIPT = mcu/arm/imx6.ld
1212

1313
SRC_BOARD_O = shared/runtime/gchelper_generic.o
1414

15+
# Use a larger heap than the default so tests run with the native emitter have
16+
# enough memory (because emitted ARM machine code is larger than Thumb2 code).
17+
MICROPY_HEAP_SIZE ?= 163840
18+
1519
# It's really armv7a but closest supported value is armv6.
1620
MPY_CROSS_FLAGS += -march=armv6
1721

0 commit comments

Comments
 (0)