From 9daa7dcb374ea6174420a03f10921caf0c5ed36e Mon Sep 17 00:00:00 2001 From: Ryan Date: Fri, 9 Oct 2020 11:43:07 +1100 Subject: CLI: Fix MCU lists for `qmk info` (#10574) --- lib/python/qmk/info.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/python/qmk/info.py') 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)) -- cgit v1.2.3