Skip to content

Commit a1563ef

Browse files
committed
Always reflash fuses
Will help transitioning back to no_bootloader core when bootloader stuff is merged
1 parent 76c9153 commit a1563ef

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: platform.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -102,14 +102,14 @@ tools.avrdude.upload.params.quiet=-q -q
102102
# tools.avrdude.upload.verify is needed for backwards compatibility with IDE 1.6.8 or older, IDE 1.6.9 or newer overrides this value
103103
tools.avrdude.upload.verify=
104104
tools.avrdude.upload.params.noverify=-V
105-
tools.avrdude.upload.pattern="{cmd.path}" "-C{config.path}" {upload.verbose} {upload.verify} -p{build.mcu} -c{upload.protocol} -Pusb -b{upload.speed} -e -D "-Uflash:w:{build.path}/{build.project_name}.hex:i"
105+
tools.avrdude.upload.pattern="{cmd.path}" "-C{config.path}" {upload.verbose} {upload.verify} -p{build.mcu} -c{upload.protocol} -Pusb -b{upload.speed} -e -D "-Uflash:w:{build.path}/{build.project_name}.hex:i" "-Ufuses:w:{runtime.platform.path}/fuses/{fuses.file}:r"
106106

107107
tools.avrdude.program.params.verbose=-v
108108
tools.avrdude.program.params.quiet=-q -q
109109
# tools.avrdude.program.verify is needed for backwards compatibility with IDE 1.6.8 or older, IDE 1.6.9 or newer overrides this value
110110
tools.avrdude.program.verify=
111111
tools.avrdude.program.params.noverify=-V
112-
tools.avrdude.program.pattern="{cmd.path}" "-C{config.path}" {program.verbose} {program.verify} -p{build.mcu} -c{protocol} {program.extra_params} "-Uflash:w:{build.path}/{build.project_name}.hex:i"
112+
tools.avrdude.program.pattern="{cmd.path}" "-C{config.path}" {program.verbose} {program.verify} -p{build.mcu} -c{protocol} {program.extra_params} "-Uflash:w:{build.path}/{build.project_name}.hex:i" "-Ufuses:w:{runtime.platform.path}/fuses/{fuses.file}:r"
113113

114114
tools.avrdude.erase.params.verbose=-v
115115
tools.avrdude.erase.params.quiet=-q -q

0 commit comments

Comments
 (0)