summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Mussared <jim.mussared@gmail.com>2022-07-12 21:26:31 +1000
committerDamien George <damien@micropython.org>2022-07-12 23:50:19 +1000
commit74794d42b8870d9f3990b18816aedce85402e106 (patch)
tree54f31bd0e4249c6586d45fcc550f38decf9b2483
parentb878fc042f6441d4a10af6f6cee897330f89d8d9 (diff)
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 <jim.mussared@gmail.com>
-rw-r--r--ports/rp2/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/ports/rp2/CMakeLists.txt b/ports/rp2/CMakeLists.txt
index 6314bfb44..202261f9c 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)