From 72817a179c27e457c00a164280102de587ef9c48 Mon Sep 17 00:00:00 2001 From: Jim Mussared Date: Wed, 16 Nov 2022 14:39:49 +1100 Subject: [PATCH] mimxrt/Makefile: Set MPY_CROSS_FLAGS. Otherwise this port will be unable to freeze `@native`/`@viper` code. Signed-off-by: Jim Mussared --- ports/mimxrt/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ports/mimxrt/Makefile b/ports/mimxrt/Makefile index d9c150525d..e08f2ad602 100644 --- a/ports/mimxrt/Makefile +++ b/ports/mimxrt/Makefile @@ -366,6 +366,8 @@ endif CFLAGS += $(CFLAGS_EXTRA) +MPY_CROSS_FLAGS += -march=armv7m + # ============================================================================= # Linker Flags # =============================================================================