mirror of
https://github.com/micropython/micropython.git
synced 2025-12-16 01:40:14 +01:00
Because this port now supports multiple architectures. Signed-off-by: Damien George <damien@micropython.org>
20 lines
546 B
Makefile
20 lines
546 B
Makefile
QEMU_ARCH = arm
|
|
QEMU_MACHINE = sabrelite
|
|
QEMU_ARGS += -m 128M
|
|
|
|
CFLAGS += -mcpu=cortex-a9
|
|
CFLAGS += -DQEMU_SOC_IMX6
|
|
CFLAGS += -DMICROPY_HW_MCU_NAME='"Cortex-A9"'
|
|
# Cortex-A9 should support unaligned-access, but qemu doesn't seem to.
|
|
CFLAGS += -mno-unaligned-access
|
|
|
|
LDSCRIPT = mcu/arm/imx6.ld
|
|
|
|
SRC_BOARD_O = shared/runtime/gchelper_generic.o
|
|
|
|
# It's really armv7a but closest supported value is armv6.
|
|
MPY_CROSS_FLAGS += -march=armv6
|
|
|
|
# These tests don't work on Cortex-A9, so exclude them.
|
|
RUN_TESTS_ARGS = --exclude '(asmdiv|asmspecialregs).py'
|