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>
This commit is contained in:
Damien George
2025-05-28 14:28:02 +10:00
parent 718ff4fdd5
commit 17951cee87
3 changed files with 10 additions and 7 deletions

View File

@@ -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)