Skip to content

Commit e84c9ab

Browse files
agattidpgeorge
authored andcommitted
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 <[email protected]>
1 parent 3225c1b commit e84c9ab

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ports/qemu/Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,15 @@ QSTR_DEFS = qstrdefsport.h
1919
MICROPY_ROM_TEXT_COMPRESSION ?= 1
2020

2121
ifeq ($(QEMU_ARCH),arm)
22-
MICROPY_HEAP_SIZE ?= 122880
22+
MICROPY_HEAP_SIZE ?= 143360
2323
ifeq ($(BOARD),MICROBIT)
2424
FROZEN_MANIFEST ?= "require('unittest'); freeze('test-frzmpy', ('frozen_const.py'))"
2525
else
2626
FROZEN_MANIFEST ?= "require('unittest'); freeze('test-frzmpy', ('frozen_asm_thumb.py', 'frozen_const.py', 'frozen_viper.py', 'native_frozen_align.py'))"
2727
endif
2828
endif
2929
ifeq ($(QEMU_ARCH),riscv32)
30-
MICROPY_HEAP_SIZE ?= 122880
30+
MICROPY_HEAP_SIZE ?= 143360
3131
FROZEN_MANIFEST ?= "require('unittest'); freeze('test-frzmpy', ('frozen_asm_rv32.py', 'frozen_const.py', 'frozen_viper.py', 'native_frozen_align.py'))"
3232
endif
3333

0 commit comments

Comments
 (0)