Skip to content

Commit

Permalink
Excessive quotes fix for AVRDUDE flags for bootloader and fuses (#319)
Browse files Browse the repository at this point in the history
Resolves #297
  • Loading branch information
thijses authored Sep 28, 2023
1 parent 056ad26 commit 90aa1f1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions builder/bootloader.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,7 @@ def get_suitable_urboot_binary(framework_dir, board_config):
"-p",
"$BOARD_MCU",
"-C",
'"%s"'
% join(env.PioPlatform().get_package_dir("tool-avrdude") or "", "avrdude.conf"),
join(env.PioPlatform().get_package_dir("tool-avrdude") or "", "avrdude.conf"),
],
BOOTFLAGS=['-Uflash:w:"%s":i' % bootloader_path, "-Ulock:w:%s:m" % lock_bits],
UPLOADBOOTCMD="$BOOTUPLOADER $BOOTUPLOADERFLAGS $UPLOAD_FLAGS $BOOTFLAGS",
Expand Down
3 changes: 1 addition & 2 deletions builder/fuses.py
Original file line number Diff line number Diff line change
Expand Up @@ -533,8 +533,7 @@ def get_lock_bits(target):
"-p",
"$BOARD_MCU",
"-C",
'"%s"'
% join(env.PioPlatform().get_package_dir("tool-avrdude") or "", "avrdude.conf"),
join(env.PioPlatform().get_package_dir("tool-avrdude") or "", "avrdude.conf"),
],
FUSESFLAGS=[
"-Ulock:w:%s:m" % lock,
Expand Down

0 comments on commit 90aa1f1

Please sign in to comment.