diff options
Diffstat (limited to 'lib')
| -rwxr-xr-x | lib/python/qmk/cli/doctor.py | 3 | ||||
| -rw-r--r-- | lib/python/qmk/constants.py | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/lib/python/qmk/cli/doctor.py b/lib/python/qmk/cli/doctor.py index 57ac0835b..bad864f72 100755 --- a/lib/python/qmk/cli/doctor.py +++ b/lib/python/qmk/cli/doctor.py | |||
| @@ -10,6 +10,7 @@ from pathlib import Path | |||
| 10 | 10 | ||
| 11 | from milc import cli | 11 | from milc import cli |
| 12 | from qmk import submodules | 12 | from qmk import submodules |
| 13 | from qmk.constants import QMK_FIRMWARE | ||
| 13 | from qmk.questions import yesno | 14 | from qmk.questions import yesno |
| 14 | from qmk.commands import run | 15 | from qmk.commands import run |
| 15 | 16 | ||
| @@ -324,6 +325,8 @@ def doctor(cli): | |||
| 324 | cli.log.error('Unsupported OS detected: %s', platform_id) | 325 | cli.log.error('Unsupported OS detected: %s', platform_id) |
| 325 | ok = False | 326 | ok = False |
| 326 | 327 | ||
| 328 | cli.log.info('QMK home: {fg_cyan}%s', QMK_FIRMWARE) | ||
| 329 | |||
| 327 | # Make sure the basic CLI tools we need are available and can be executed. | 330 | # Make sure the basic CLI tools we need are available and can be executed. |
| 328 | bin_ok = check_binaries() | 331 | bin_ok = check_binaries() |
| 329 | 332 | ||
diff --git a/lib/python/qmk/constants.py b/lib/python/qmk/constants.py index 36a20adf4..0450724df 100644 --- a/lib/python/qmk/constants.py +++ b/lib/python/qmk/constants.py | |||
| @@ -9,7 +9,7 @@ QMK_FIRMWARE = Path.cwd() | |||
| 9 | MAX_KEYBOARD_SUBFOLDERS = 5 | 9 | MAX_KEYBOARD_SUBFOLDERS = 5 |
| 10 | 10 | ||
| 11 | # Supported processor types | 11 | # Supported processor types |
| 12 | ARM_PROCESSORS = 'cortex-m0', 'cortex-m0plus', 'cortex-m3', 'cortex-m4', 'MKL26Z64', 'MK20DX128', 'MK20DX256', 'STM32F042', 'STM32F072', 'STM32F103', 'STM32F303' | 12 | ARM_PROCESSORS = 'cortex-m0', 'cortex-m0plus', 'cortex-m3', 'cortex-m4', 'MKL26Z64', 'MK20DX128', 'MK20DX256', 'STM32F042', 'STM32F072', 'STM32F103', 'STM32F303', 'STM32F401', 'STM32F411' |
| 13 | AVR_PROCESSORS = 'at90usb1286', 'at90usb646', 'atmega16u2', 'atmega328p', 'atmega32a', 'atmega32u2', 'atmega32u4', None | 13 | AVR_PROCESSORS = 'atmega16u2', 'atmega32u2', 'atmega16u4', 'atmega32u4', 'at90usb646', 'at90usb647', 'at90usb1286', 'at90usb1287', 'atmega328p', 'atmega32a', None |
| 14 | ALL_PROCESSORS = ARM_PROCESSORS + AVR_PROCESSORS | 14 | ALL_PROCESSORS = ARM_PROCESSORS + AVR_PROCESSORS |
| 15 | VUSB_PROCESSORS = 'atmega328p', 'atmega32a', 'atmega328', 'attiny85' | 15 | VUSB_PROCESSORS = 'atmega328p', 'atmega32a', 'atmega328', 'attiny85' |
