aboutsummaryrefslogtreecommitdiff
path: root/lib/python
diff options
context:
space:
mode:
Diffstat (limited to 'lib/python')
-rwxr-xr-xlib/python/qmk/cli/doctor.py3
-rw-r--r--lib/python/qmk/constants.py4
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
11from milc import cli 11from milc import cli
12from qmk import submodules 12from qmk import submodules
13from qmk.constants import QMK_FIRMWARE
13from qmk.questions import yesno 14from qmk.questions import yesno
14from qmk.commands import run 15from 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()
9MAX_KEYBOARD_SUBFOLDERS = 5 9MAX_KEYBOARD_SUBFOLDERS = 5
10 10
11# Supported processor types 11# Supported processor types
12ARM_PROCESSORS = 'cortex-m0', 'cortex-m0plus', 'cortex-m3', 'cortex-m4', 'MKL26Z64', 'MK20DX128', 'MK20DX256', 'STM32F042', 'STM32F072', 'STM32F103', 'STM32F303' 12ARM_PROCESSORS = 'cortex-m0', 'cortex-m0plus', 'cortex-m3', 'cortex-m4', 'MKL26Z64', 'MK20DX128', 'MK20DX256', 'STM32F042', 'STM32F072', 'STM32F103', 'STM32F303', 'STM32F401', 'STM32F411'
13AVR_PROCESSORS = 'at90usb1286', 'at90usb646', 'atmega16u2', 'atmega328p', 'atmega32a', 'atmega32u2', 'atmega32u4', None 13AVR_PROCESSORS = 'atmega16u2', 'atmega32u2', 'atmega16u4', 'atmega32u4', 'at90usb646', 'at90usb647', 'at90usb1286', 'at90usb1287', 'atmega328p', 'atmega32a', None
14ALL_PROCESSORS = ARM_PROCESSORS + AVR_PROCESSORS 14ALL_PROCESSORS = ARM_PROCESSORS + AVR_PROCESSORS
15VUSB_PROCESSORS = 'atmega328p', 'atmega32a', 'atmega328', 'attiny85' 15VUSB_PROCESSORS = 'atmega328p', 'atmega32a', 'atmega328', 'attiny85'