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:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user