diff options
author | Ross Baquir <streakinthesky@gmail.com> | 2020-04-02 16:46:26 -0700 |
---|---|---|
committer | Florian Didron <fdidron@users.noreply.github.com> | 2020-06-12 17:00:27 +0900 |
commit | e5af14f7cc34afef91978bdbe13f4a6c8e2029a6 (patch) | |
tree | a31dd031a7d611e899b451370aaa3248b242ed13 /lib/python/qmk | |
parent | 3b2ecdedde9c2ce69eeacc215c08c509ed31ce5a (diff) |
Fix saving output from avrdude and dfu-programmer
Diffstat (limited to 'lib/python/qmk')
-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 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'] |