Skip to content

Commit f61b5ee

Browse files
Reduce avrdude verbosity
Previously, when verbose uploads were enabled, avrdude was run with four -v options, causing it to dump all raw bytes exchanged with the bootloader. This floods the console so much that meaningful output mostly disappears. Most users probably want to enable verbose mode just to see what avrdude command is ran. Furthermore, users that benefit from the raw bytes dumped are perfectly capable of either running avrdude manually, or modifying platform.txt. Given that, running avrdude with just one -v should be plenty. This fixes #891.
1 parent 0f7a0ec commit f61b5ee

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

platform.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,19 +80,19 @@ recipe.size.regex.eeprom=^(?:\.eeprom)\s+([0-9]+).*
8080
tools.avrdude.cmd.path={runtime.ide.path}/hardware/tools/avr/bin/avrdude
8181
tools.avrdude.config.path={runtime.ide.path}/hardware/tools/avr/etc/avrdude.conf
8282

83-
tools.avrdude.upload.params.verbose=-v -v -v -v
83+
tools.avrdude.upload.params.verbose=-v
8484
tools.avrdude.upload.params.quiet=-q -q
8585
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"
8686

87-
tools.avrdude.program.params.verbose=-v -v -v -v
87+
tools.avrdude.program.params.verbose=-v
8888
tools.avrdude.program.params.quiet=-q -q
8989
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"
9090

91-
tools.avrdude.erase.params.verbose=-v -v -v -v
91+
tools.avrdude.erase.params.verbose=-v
9292
tools.avrdude.erase.params.quiet=-q -q
9393
tools.avrdude.erase.pattern="{cmd.path}" "-C{config.path}" {erase.verbose} -p{build.mcu} -c{protocol} {program.extra_params} -e -Ulock:w:{bootloader.unlock_bits}:m -Uefuse:w:{bootloader.extended_fuses}:m -Uhfuse:w:{bootloader.high_fuses}:m -Ulfuse:w:{bootloader.low_fuses}:m
9494

95-
tools.avrdude.bootloader.params.verbose=-v -v -v -v
95+
tools.avrdude.bootloader.params.verbose=-v
9696
tools.avrdude.bootloader.params.quiet=-q -q
9797
tools.avrdude.bootloader.pattern="{cmd.path}" "-C{config.path}" {bootloader.verbose} -p{build.mcu} -c{protocol} {program.extra_params} "-Uflash:w:{runtime.platform.path}/bootloaders/{bootloader.file}:i" -Ulock:w:{bootloader.lock_bits}:m
9898

0 commit comments

Comments
 (0)