diff options
author | Ross Baquir <streakinthesky@gmail.com> | 2020-04-02 16:46:26 -0700 |
---|---|---|
committer | skullydazed <skullydazed@users.noreply.github.com> | 2020-04-04 12:43:13 -0700 |
commit | 8af156d9769349692f1de522ec365d161aced99a (patch) | |
tree | d04528a076a6ef283d660063ad209d25e1012869 /lib | |
parent | 70b501516258ae6b76d6a8b6cd86368ed4b63f11 (diff) | |
download | qmk_firmware-8af156d9769349692f1de522ec365d161aced99a.tar.gz |
Fix saving output from avrdude and dfu-programmer
Diffstat (limited to 'lib')
-rwxr-xr-x | lib/python/qmk/cli/doctor.py | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/lib/python/qmk/cli/doctor.py b/lib/python/qmk/cli/doctor.py index 7f0b52ffb..3e0151cf3 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'] |