Skip to content

Commit 729b087

Browse files
Stary2001fpistm
authored andcommitted
Fix LINKFLAGS containing a tuple in platformio build script
1 parent e91bc19 commit 729b087

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

tools/platformio/platformio-build.py

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -376,13 +376,11 @@ def get_arduino_board_id(board_config, mcu):
376376
print("Warning! Cannot find linker script for the current target!\n")
377377
env.Append(
378378
LINKFLAGS=[
379-
(
380-
"-Wl,--default-script",
381-
join(
382-
inc_variant_dir,
383-
board_config.get("build.arduino.ldscript", "ldscript.ld"),
384-
),
385-
)
379+
"-Wl,--default-script",
380+
join(
381+
inc_variant_dir,
382+
board_config.get("build.arduino.ldscript", "ldscript.ld"),
383+
),
386384
]
387385
)
388386

0 commit comments

Comments
 (0)