summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Mussared <jim.mussared@gmail.com>2022-11-16 14:39:49 +1100
committerDamien George <damien@micropython.org>2022-11-17 22:10:40 +1100
commit72817a179c27e457c00a164280102de587ef9c48 (patch)
treebea94d418d449d175b037c8c5bf459c7961e5380
parent3459a4fa3d511179e46e1953bd860c851e9c6653 (diff)
mimxrt/Makefile: Set MPY_CROSS_FLAGS.
Otherwise this port will be unable to freeze `@native`/`@viper` code. Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
-rw-r--r--ports/mimxrt/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/ports/mimxrt/Makefile b/ports/mimxrt/Makefile
index d9c150525..e08f2ad60 100644
--- a/ports/mimxrt/Makefile
+++ b/ports/mimxrt/Makefile
@@ -366,6 +366,8 @@ endif
CFLAGS += $(CFLAGS_EXTRA)
+MPY_CROSS_FLAGS += -march=armv7m
+
# =============================================================================
# Linker Flags
# =============================================================================