summaryrefslogtreecommitdiffstatshomepage
path: root/py
diff options
context:
space:
mode:
authorDamien George <damien@micropython.org>2025-05-28 14:28:02 +1000
committerDamien George <damien@micropython.org>2025-06-10 13:43:03 +1000
commit17951cee87d63bcc001fdaf1e669a74e6da4af29 (patch)
treeb1b28f53dde5c3ee1e52b6a5b81aa3934ead904f /py
parent718ff4fdd58efd3e853599b489640877070d17be (diff)
downloadmicropython-17951cee87d63bcc001fdaf1e669a74e6da4af29.tar.gz
micropython-17951cee87d63bcc001fdaf1e669a74e6da4af29.zip
py/dynruntime.mk: Enable single-precision float by default on armv6/7m.
Soft float now works on these ARM targets thanks to the parent commit. Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'py')
-rw-r--r--py/dynruntime.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/py/dynruntime.mk b/py/dynruntime.mk
index 84c78d6225..030728cfc9 100644
--- a/py/dynruntime.mk
+++ b/py/dynruntime.mk
@@ -63,14 +63,14 @@ else ifeq ($(ARCH),armv6m)
# thumb
CROSS = arm-none-eabi-
CFLAGS_ARCH += -mthumb -mcpu=cortex-m0
-MICROPY_FLOAT_IMPL ?= none
+MICROPY_FLOAT_IMPL ?= float
else ifeq ($(ARCH),armv7m)
# thumb
CROSS = arm-none-eabi-
CFLAGS_ARCH += -mthumb -mcpu=cortex-m3
-MICROPY_FLOAT_IMPL ?= none
+MICROPY_FLOAT_IMPL ?= float
else ifeq ($(ARCH),armv7emsp)