Skip to content

Commit fa8bebd

Browse files
dolfandringafpistm
authored andcommitted
exclude fpu options from stm32wl boards
1 parent 9209335 commit fa8bebd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/platformio/platformio-build.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ def configure_application_offset(mcu, upload_protocol):
146146
env.Append(LINKFLAGS=["-Wl,--defsym=LD_FLASH_OFFSET=%s" % hex(offset)])
147147

148148

149-
if any(mcu in board_config.get("build.cpu") for mcu in ("cortex-m4", "cortex-m7")):
149+
if any(mcu in board_config.get("build.cpu") for mcu in ("cortex-m4", "cortex-m7")) and "stm32wl" not in mcu:
150150
env.Append(
151151
CCFLAGS=["-mfpu=fpv4-sp-d16", "-mfloat-abi=hard"],
152152
LINKFLAGS=["-mfpu=fpv4-sp-d16", "-mfloat-abi=hard"],

0 commit comments

Comments
 (0)