From 74794d42b8870d9f3990b18816aedce85402e106 Mon Sep 17 00:00:00 2001 From: Jim Mussared Date: Tue, 12 Jul 2022 21:26:31 +1000 Subject: [PATCH] rp2/CMakeLists: Use armv6m mpy-cross arch for rp2. Commit 0e28a1f0e5e229f14b199a30d1796770b232f5a1 made it possible to set -march=armv6m. It needs to be used when freezing for rp2. Signed-off-by: Jim Mussared --- ports/rp2/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ports/rp2/CMakeLists.txt b/ports/rp2/CMakeLists.txt index 6314bfb44d..202261f9c1 100644 --- a/ports/rp2/CMakeLists.txt +++ b/ports/rp2/CMakeLists.txt @@ -323,7 +323,7 @@ list(APPEND MICROPY_SOURCE_QSTR ) # Define mpy-cross flags -set(MICROPY_CROSS_FLAGS -march=armv7m) +set(MICROPY_CROSS_FLAGS -march=armv6m) # Set the frozen manifest file if (MICROPY_USER_FROZEN_MANIFEST)