From 8af156d9769349692f1de522ec365d161aced99a Mon Sep 17 00:00:00 2001 From: Ross Baquir Date: Thu, 2 Apr 2020 16:46:26 -0700 Subject: [PATCH] Fix saving output from avrdude and dfu-programmer --- lib/python/qmk/cli/doctor.py | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/lib/python/qmk/cli/doctor.py b/lib/python/qmk/cli/doctor.py index 7f0b52ffb6..3e0151cf32 100755 --- a/lib/python/qmk/cli/doctor.py +++ b/lib/python/qmk/cli/doctor.py @@ -14,10 +14,16 @@ from qmk.commands import run ESSENTIAL_BINARIES = { 'dfu-programmer': {}, - 'avrdude': {}, + 'avrdude': { + 'version_arg': '-\\?' + }, 'dfu-util': {}, - 'avr-gcc': {'version_arg': '-dumpversion'}, - 'arm-none-eabi-gcc': {'version_arg': '-dumpversion'}, + 'avr-gcc': { + 'version_arg': '-dumpversion' + }, + 'arm-none-eabi-gcc': { + 'version_arg': '-dumpversion' + }, 'bin/qmk': {}, } ESSENTIAL_SUBMODULES = ['lib/chibios', 'lib/lufa']