summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoss Baquir <streakinthesky@gmail.com>2020-04-02 16:46:26 -0700
committerFlorian Didron <fdidron@users.noreply.github.com>2020-06-12 17:00:27 +0900
commite5af14f7cc34afef91978bdbe13f4a6c8e2029a6 (patch)
treea31dd031a7d611e899b451370aaa3248b242ed13
parent3b2ecdedde9c2ce69eeacc215c08c509ed31ce5a (diff)
Fix saving output from avrdude and dfu-programmer
-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']