summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRoss Baquir <streakinthesky@gmail.com>2020-04-02 16:46:26 -0700
committerskullydazed <skullydazed@users.noreply.github.com>2020-04-04 12:43:13 -0700
commit8af156d9769349692f1de522ec365d161aced99a (patch)
treed04528a076a6ef283d660063ad209d25e1012869 /lib
parent70b501516258ae6b76d6a8b6cd86368ed4b63f11 (diff)
Fix saving output from avrdude and dfu-programmer
Diffstat (limited to 'lib')
-rwxr-xr-xlib/python/qmk/cli/doctor.py12
1 files 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']