-
-
Notifications
You must be signed in to change notification settings - Fork 40.5k
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
Chibios_test/stm32_f072_onekey: Add support for reset to bootloader #4238
Conversation
Chibios_test/STM32_F072_ONEKEY wouldn't reset to bootloader on a compatible Discovery board because the Chibios library board file was lacking the __early_init(void) function necessary to read the magic key. Borrowed code from Clueboard 60, tested working.
I think cfg/board.chcfg is not needed. Am I right?:) |
@yiancar I do believe you are correct, compiles with it removed. Can this be approved now that I've cleaned it up? |
@jackhumbert Can you review and approve please? |
Can someone please approve this? |
@drashna now can I get a merge? |
I don't know what the holdup is on this PR, but I have other things to work on. I'm going to have to catch up my repo and start working by 12/27. I hate to be difficult about it, but it's been two months. |
Actually, I was just thinking about this the other day. Thanks! |
Merge branch 'master' into messingabout * master: (131 commits) Improve diagnostics for build hashes XMMX refactor, Configurator support and readme update (qmk#4722) Chibios_test/stm32_f072_onekey: Add support for reset to bootloader (qmk#4238) Add tsangan layout to dz60 with a "sane" default keymap (qmk#4717) Redox: Configurator bugfix (qmk#4721) Replace serial.c of quantum/split_common/ (qmk#4669) Toad Configurator support and readme update (qmk#4718) Keymap: fix userspace compile error with planck grid (qmk#4719) First PR for KBD6x HHKB layout keymap (qmk#4704) [Miuni32] Update the # of LEDs to match the final version of PCB (qmk#4714) Noxary x268: refactor and Configurator bugfix (qmk#4713) shell.nix: Packages relocated in upstream cleanup JD40 refactor and readme update (qmk#4710) Keyboard: Infinity60 refactor, Configurator support and readme update (qmk#4707) Update Vinta (qmk#4705) Add crd's XD60 ANSI keymap (qmk#4702) Keymap: Redox / jeherve: updates (qmk#4694) Update keymap for planck/rev6 (qmk#4701) handwired/not_so_minidox: Configurator support (qmk#4699) Feature Unicode example code fixed. ...
…mk#4238) * Add support for reset to bootloader Chibios_test/STM32_F072_ONEKEY wouldn't reset to bootloader on a compatible Discovery board because the Chibios library board file was lacking the __early_init(void) function necessary to read the magic key. Borrowed code from Clueboard 60, tested working. * Remove board.chcfg
…mk#4238) * Add support for reset to bootloader Chibios_test/STM32_F072_ONEKEY wouldn't reset to bootloader on a compatible Discovery board because the Chibios library board file was lacking the __early_init(void) function necessary to read the magic key. Borrowed code from Clueboard 60, tested working. * Remove board.chcfg
…mk#4238) * Add support for reset to bootloader Chibios_test/STM32_F072_ONEKEY wouldn't reset to bootloader on a compatible Discovery board because the Chibios library board file was lacking the __early_init(void) function necessary to read the magic key. Borrowed code from Clueboard 60, tested working. * Remove board.chcfg
Chibios_test/stm32_f072_onekey wouldn't reset to bootloader on a
compatible Discovery board because the Chibios library board file was
lacking the __early_init(void) function necessary to read the magic key.
Borrowed code from Clueboard 60, tested working.
This way there will be good example code if anyone else implements an 072 MCU in their project.