summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2023-01-11 19:58:27 +0000
committerGitHub <noreply@github.com>2023-01-11 19:58:27 +0000
commit46c85c93f05003ecc9d5b9266bc78e98cc7a843b (patch)
tree0fb94d5c33159f1c6636fb7db992996f3dbd35c8 /lib
parente11235ee14f9cd3fc45b836eec99ed312cb137dd (diff)
Revert "De-duplicate platform detection (#19545)" (#19564)
This reverts commit e11235ee14f9cd3fc45b836eec99ed312cb137dd.
Diffstat (limited to 'lib')
-rw-r--r--lib/python/qmk/info.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/python/qmk/info.py b/lib/python/qmk/info.py
index 789d05850c..af3b0f3091 100644
--- a/lib/python/qmk/info.py
+++ b/lib/python/qmk/info.py
@@ -751,7 +751,6 @@ def arm_processor_rules(info_data, rules):
"""
info_data['processor_type'] = 'arm'
info_data['protocol'] = 'ChibiOS'
- info_data['platform_key'] = 'chibios'
if 'STM32' in info_data['processor']:
info_data['platform'] = 'STM32'
@@ -759,7 +758,6 @@ def arm_processor_rules(info_data, rules):
info_data['platform'] = rules['MCU_SERIES']
elif 'ARM_ATSAM' in rules:
info_data['platform'] = 'ARM_ATSAM'
- info_data['platform_key'] = 'arm_atsam'
return info_data
@@ -769,7 +767,6 @@ def avr_processor_rules(info_data, rules):
"""
info_data['processor_type'] = 'avr'
info_data['platform'] = rules['ARCH'] if 'ARCH' in rules else 'unknown'
- info_data['platform_key'] = 'avr'
info_data['protocol'] = 'V-USB' if info_data['processor'] in VUSB_PROCESSORS else 'LUFA'
# FIXME(fauxpark/anyone): Eventually we should detect the protocol by looking at PROTOCOL inherited from mcu_selection.mk: