Skip to content

Commit 9933c36

Browse files
committed
Implement Do-Not-Verify-After-Upload preference for Serial Uploads
1 parent 5e194bd commit 9933c36

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

platform.txt

+4-2
Original file line numberDiff line numberDiff line change
@@ -97,11 +97,13 @@ tools.avrdude.config.path={path}/etc/avrdude.conf
9797

9898
tools.avrdude.upload.params.verbose=-v
9999
tools.avrdude.upload.params.quiet=-q -q
100-
tools.avrdude.upload.pattern="{cmd.path}" "-C{config.path}" {upload.verbose} -p{build.mcu} -c{upload.protocol} -P{serial.port} -b{upload.speed} -D "-Uflash:w:{build.path}/{build.project_name}.hex:i"
100+
tools.avrdude.upload.params.noverify=-V
101+
tools.avrdude.upload.pattern="{cmd.path}" "-C{config.path}" {upload.verbose} {upload.verify} -p{build.mcu} -c{upload.protocol} -P{serial.port} -b{upload.speed} -D "-Uflash:w:{build.path}/{build.project_name}.hex:i"
101102

102103
tools.avrdude.program.params.verbose=-v
103104
tools.avrdude.program.params.quiet=-q -q
104-
tools.avrdude.program.pattern="{cmd.path}" "-C{config.path}" {program.verbose} -p{build.mcu} -c{protocol} {program.extra_params} "-Uflash:w:{build.path}/{build.project_name}.hex:i"
105+
tools.avrdude.program.params.noverify=-V
106+
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"
105107

106108
tools.avrdude.erase.params.verbose=-v
107109
tools.avrdude.erase.params.quiet=-q -q

0 commit comments

Comments
 (0)