diff options
| author | Alessandro Gatti <a.gatti@frob.it> | 2025-01-14 02:26:16 +0100 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2025-01-16 12:51:11 +1100 |
| commit | e84c9abfc21f57fe93b4d9a05c1d123e3f333880 (patch) | |
| tree | 48c88df022a917f6cb0ff0dd8db000b052dcd99f | |
| parent | 3225c1bc66a3cf21c3fc48917123c24131bdbf8b (diff) | |
qemu/Makefile: Increase GC heap size to 140KiB.
This commit increases the GC heap size from 120KiB to 140KiB, as it is
needed to make the full test suite pass on SABRELITE when ran through the
armv6 native emitter.
This is needed as the code output by the armv6 native emitter is limited to
4-bytes opcodes and thus takes more space than other ARM emitters.
To keep things aligned, the RV32 port also got its heap size increased even
though it is not needed on that platform right now.
Signed-off-by: Alessandro Gatti <a.gatti@frob.it>
| -rw-r--r-- | ports/qemu/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ports/qemu/Makefile b/ports/qemu/Makefile index 1b77b1790..bf9addc6f 100644 --- a/ports/qemu/Makefile +++ b/ports/qemu/Makefile @@ -19,7 +19,7 @@ QSTR_DEFS = qstrdefsport.h MICROPY_ROM_TEXT_COMPRESSION ?= 1 ifeq ($(QEMU_ARCH),arm) -MICROPY_HEAP_SIZE ?= 122880 +MICROPY_HEAP_SIZE ?= 143360 ifeq ($(BOARD),MICROBIT) FROZEN_MANIFEST ?= "require('unittest'); freeze('test-frzmpy', ('frozen_const.py'))" else @@ -27,7 +27,7 @@ FROZEN_MANIFEST ?= "require('unittest'); freeze('test-frzmpy', ('frozen_asm_thum endif endif ifeq ($(QEMU_ARCH),riscv32) -MICROPY_HEAP_SIZE ?= 122880 +MICROPY_HEAP_SIZE ?= 143360 FROZEN_MANIFEST ?= "require('unittest'); freeze('test-frzmpy', ('frozen_asm_rv32.py', 'frozen_const.py', 'frozen_viper.py', 'native_frozen_align.py'))" endif |
