aboutsummaryrefslogtreecommitdiff
path: root/lib/python
diff options
context:
space:
mode:
authorJoy Lee <chang.li@westberrytech.com>2021-11-27 06:28:18 +0800
committerGitHub <noreply@github.com>2021-11-27 09:28:18 +1100
commit68838bb700413144c6fdaf680f3d412b8231b584 (patch)
tree771e7fea9bc145c9e833ac66dcb712af9b55e532 /lib/python
parentb04f66f2452494206673323c9495ea6a56c0cb06 (diff)
downloadqmk_firmware-68838bb700413144c6fdaf680f3d412b8231b584.tar.gz
qmk_firmware-68838bb700413144c6fdaf680f3d412b8231b584.zip
Westberrytech pr (#14422)
* Added support for WB32 MCU * Modified eeprom_wb32.c * Remove the eeprom_wb32-related code
Diffstat (limited to 'lib/python')
-rw-r--r--lib/python/qmk/constants.py2
-rw-r--r--lib/python/qmk/info.py2
2 files changed, 3 insertions, 1 deletions
diff --git a/lib/python/qmk/constants.py b/lib/python/qmk/constants.py
index 73f596ba2..754091a97 100644
--- a/lib/python/qmk/constants.py
+++ b/lib/python/qmk/constants.py
@@ -13,7 +13,7 @@ QMK_FIRMWARE_UPSTREAM = 'qmk/qmk_firmware'
13MAX_KEYBOARD_SUBFOLDERS = 5 13MAX_KEYBOARD_SUBFOLDERS = 5
14 14
15# Supported processor types 15# Supported processor types
16CHIBIOS_PROCESSORS = 'cortex-m0', 'cortex-m0plus', 'cortex-m3', 'cortex-m4', 'MKL26Z64', 'MK20DX128', 'MK20DX256', 'MK66FX1M0', 'STM32F042', 'STM32F072', 'STM32F103', 'STM32F303', 'STM32F401', 'STM32F407', 'STM32F411', 'STM32F446', 'STM32G431', 'STM32G474', 'STM32L412', 'STM32L422', 'STM32L433', 'STM32L443', 'GD32VF103' 16CHIBIOS_PROCESSORS = 'cortex-m0', 'cortex-m0plus', 'cortex-m3', 'cortex-m4', 'MKL26Z64', 'MK20DX128', 'MK20DX256', 'MK66FX1M0', 'STM32F042', 'STM32F072', 'STM32F103', 'STM32F303', 'STM32F401', 'STM32F407', 'STM32F411', 'STM32F446', 'STM32G431', 'STM32G474', 'STM32L412', 'STM32L422', 'STM32L433', 'STM32L443', 'GD32VF103', 'WB32F3G71'
17LUFA_PROCESSORS = 'at90usb162', 'atmega16u2', 'atmega32u2', 'atmega16u4', 'atmega32u4', 'at90usb646', 'at90usb647', 'at90usb1286', 'at90usb1287', None 17LUFA_PROCESSORS = 'at90usb162', 'atmega16u2', 'atmega32u2', 'atmega16u4', 'atmega32u4', 'at90usb646', 'at90usb647', 'at90usb1286', 'at90usb1287', None
18VUSB_PROCESSORS = 'atmega32a', 'atmega328p', 'atmega328', 'attiny85' 18VUSB_PROCESSORS = 'atmega32a', 'atmega328p', 'atmega328', 'attiny85'
19 19
diff --git a/lib/python/qmk/info.py b/lib/python/qmk/info.py
index dc42fdd4d..9a07fc842 100644
--- a/lib/python/qmk/info.py
+++ b/lib/python/qmk/info.py
@@ -624,6 +624,8 @@ def arm_processor_rules(info_data, rules):
624 if 'bootloader' not in info_data: 624 if 'bootloader' not in info_data:
625 if 'STM32' in info_data['processor']: 625 if 'STM32' in info_data['processor']:
626 info_data['bootloader'] = 'stm32-dfu' 626 info_data['bootloader'] = 'stm32-dfu'
627 elif 'WB32' in info_data['processor']:
628 info_data['bootloader'] = 'wb32-dfu'
627 else: 629 else:
628 info_data['bootloader'] = 'unknown' 630 info_data['bootloader'] = 'unknown'
629 631