Skip to content

Commit 4c9e33f

Browse files
committed
Actually fix FPU values
1 parent 76fcfd1 commit 4c9e33f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tools/platformio/platformio-build.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ def configure_application_offset(mcu, upload_protocol):
134134
# LD_FLASH_OFFSET is mandatory even if there is no offset
135135
env.Append(LINKFLAGS=["-Wl,--defsym=LD_FLASH_OFFSET=%s" % hex(offset)])
136136

137-
if any(mcu in board_config.get("build.cpu") for mcu in ("cortex-m4")):
137+
if board_config.get("build.cpu") in ("cortex-m4"):
138138
env.Append(
139139
CCFLAGS=["-mfpu=fpv4-sp-d16", "-mfloat-abi=hard"],
140140
LINKFLAGS=["-mfpu=fpv4-sp-d16", "-mfloat-abi=hard"],

0 commit comments

Comments
 (0)