mirror of
https://github.com/micropython/micropython.git
synced 2025-12-16 09:50:15 +01:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user