From cb4ea0b35ebb4814279dd12e897e67e76a34bf43 Mon Sep 17 00:00:00 2001 From: Daniel Thompson Date: Tue, 28 Jan 2020 18:14:40 +0000 Subject: [PATCH] nrf: Fix (frozen) native code generation --- ports/nrf/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ports/nrf/Makefile b/ports/nrf/Makefile index bd177108e..2a80ee58e 100644 --- a/ports/nrf/Makefile +++ b/ports/nrf/Makefile @@ -128,6 +128,9 @@ CFLAGS += -Os -DNDEBUG LDFLAGS += -Os endif +# Options for mpy-cross +MPY_CROSS_FLAGS += -march=armv7m + LIBS = \ ifeq ($(MCU_VARIANT), nrf52)