diff options
| author | Damien George <damien@micropython.org> | 2025-02-25 15:14:08 +1100 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2025-02-26 16:11:09 +1100 |
| commit | e3101ce1b3782955ea2d103922f0dc19bc0331f6 (patch) | |
| tree | f8cc63151c5f263a689d3263f4c1583d9bd991ca | |
| parent | 78728dc94abf9482d07efb3056d03ff6d41d7b1a (diff) | |
qemu/boards/SABRELITE: Increase MicroPython heap to 160k.
Signed-off-by: Damien George <damien@micropython.org>
| -rw-r--r-- | ports/qemu/boards/SABRELITE/mpconfigboard.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ports/qemu/boards/SABRELITE/mpconfigboard.mk b/ports/qemu/boards/SABRELITE/mpconfigboard.mk index 80ea08f12..e56dba712 100644 --- a/ports/qemu/boards/SABRELITE/mpconfigboard.mk +++ b/ports/qemu/boards/SABRELITE/mpconfigboard.mk @@ -12,6 +12,10 @@ LDSCRIPT = mcu/arm/imx6.ld SRC_BOARD_O = shared/runtime/gchelper_generic.o +# Use a larger heap than the default so tests run with the native emitter have +# enough memory (because emitted ARM machine code is larger than Thumb2 code). +MICROPY_HEAP_SIZE ?= 163840 + # It's really armv7a but closest supported value is armv6. MPY_CROSS_FLAGS += -march=armv6 |
