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

@@ -14,4 +14,9 @@ ifeq ($(ARCH),xtensa)
MPY_EXTERN_SYM_FILE=$(MPY_DIR)/ports/esp8266/boards/eagle.rom.addr.v6.ld
endif
ifeq ($(ARCH),$(filter $(ARCH),armv6m armv7m))
# Link with libm.a for soft-float helper functions
LINK_RUNTIME = 1
endif
include $(MPY_DIR)/py/dynruntime.mk