Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[POC] console: dynamically get bootloaders #182

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dexter93
Copy link

Description

We already define supported bootloaders in QMK_HOME. That list is subject to frequent changes with every new chip.
Look up there instead of redefining a list here

from QMK_HOME/lib/python/qmk/constants.py
@dexter93
Copy link
Author

Resulting KNOWN_BOOTLOADERS list

('03eb', '2ff4'): atmel-dfu: at90usb1287
('03eb', '2ffa'): atmel-dfu: at90usb1287
('03eb', '2fef'): atmel-dfu: at90usb1287
('03eb', '2ff9'): atmel-dfu: at90usb1287
('03eb', '2ff3'): atmel-dfu: at90usb1287
('03eb', '2ffb'): atmel-dfu: at90usb1287
('03eb', '2ff0'): atmel-dfu: at90usb1287
('1c11', 'b007'): kiibohd: Unknown Bootloader
('1eaf', '0003'): stm32-dfu: STM32L443
('0483', 'df11'): stm32-dfu: STM32L443
('314b', '0106'): apm32-dfu: Unknown Bootloader
('28e9', '0189'): gd32v-dfu: GD32VF103
('342d', 'dfa0'): wb32-dfu: WB32FQ95
('16c0', '05df'): bootloadhid: atmega32a
('16c0', '05dc'): usbasploader: atmega328
('1782', '0c9f'): usbtinyisp: Unknown Bootloader
('03eb', '6124'): md-boot: Unknown Bootloader
('239a', '000c'): caterina: Unknown Bootloader
('239a', '000e'): caterina: Unknown Bootloader
('1b4f', '9205'): caterina: Unknown Bootloader
('1b4f', '9203'): caterina: Unknown Bootloader
('1ffb', '0101'): caterina: Unknown Bootloader
('2a03', '0037'): caterina: Unknown Bootloader
('2341', '0037'): caterina: Unknown Bootloader
('2341', '0036'): caterina: Unknown Bootloader
('239a', '000d'): caterina: Unknown Bootloader
('2a03', '0036'): caterina: Unknown Bootloader
('1b4f', '9207'): caterina: Unknown Bootloader
('1209', '2302'): caterina: Unknown Bootloader
('16c0', '0478'): hid-bootloader: Unknown Bootloader
('03eb', '2067'): hid-bootloader: Unknown Bootloader

Unknown Bootloader is a result of missing info in MCU2BOOTLOADER. Perhaps those should be updated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant