8000 PYCOM : improved option MICROPY_FLOAT_IMPL · pycom/pycom-micropython-sigfox@a06c014 · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Sep 16, 2024. It is now read-only.

Commit a06c014

Browse files
rcolistetepeter-pycom
authored andcommitted
PYCOM : improved option MICROPY_FLOAT_IMPL
1 parent 86665a2 commit a06c014

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

esp32/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,9 +130,11 @@ else
130130
ifeq ($(MICROPY_FLOAT_IMPL),none)
131131
CFLAGS += -DMICROPY_FLOAT_IMPL=MICROPY_FLOAT_IMPL_NONE
132132
else
133+
ifeq ($(MICROPY_FLOAT_IMPL),single)
133134
CFLAGS += -DMICROPY_FLOAT_IMPL=MICROPY_FLOAT_IMPL_FLOAT
134135
endif
135136
endif
137+
endif
136138

137139
LDFLAGS = -nostdlib -Wl,-Map=$(@:.elf=.map) -Wl,--no-check-sections -u call_user_start_cpu0
138140
LDFLAGS += -Wl,-static -Wl,--undefined=uxTopUsedPriority -Wl,--gc-sections

0 commit comments

Comments
 (0)
0