summaryrefslogtreecommitdiffstats
path: root/lib/python/qmk/info.py
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2020-10-09 11:43:07 +1100
committerGitHub <noreply@github.com>2020-10-09 11:43:07 +1100
commit7229997e7d7e3519c09774020c7f3979541ea761 (patch)
tree03194111710784bb1e24ef527ce3b690657ad228 /lib/python/qmk/info.py
parent5fbd55999b7b121758441d1c22f66c7e8e41522b (diff)
CLI: Fix MCU lists for `qmk info` (#10574)
Diffstat (limited to 'lib/python/qmk/info.py')
-rw-r--r--lib/python/qmk/info.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/python/qmk/info.py b/lib/python/qmk/info.py
index c780a0ab23..15a5c097a5 100644
--- a/lib/python/qmk/info.py
+++ b/lib/python/qmk/info.py
@@ -6,7 +6,7 @@ from pathlib import Path
from milc import cli
-from qmk.constants import ARM_PROCESSORS, AVR_PROCESSORS, VUSB_PROCESSORS
+from qmk.constants import CHIBIOS_PROCESSORS, LUFA_PROCESSORS, VUSB_PROCESSORS
from qmk.c_parse import find_layouts
from qmk.keyboard import config_h, rules_mk
from qmk.makefile import parse_rules_mk_file
@@ -95,9 +95,9 @@ def _extract_rules_mk(info_data):
rules = rules_mk(info_data['keyboard_folder'])
mcu = rules.get('MCU')
- if mcu in ARM_PROCESSORS:
+ if mcu in CHIBIOS_PROCESSORS:
arm_processor_rules(info_data, rules)
- elif mcu in AVR_PROCESSORS:
+ elif mcu in LUFA_PROCESSORS + VUSB_PROCESSORS:
avr_processor_rules(info_data, rules)
else:
cli.log.warning("%s: Unknown MCU: %s" % (info_data['keyboard_folder'], mcu))