[Keyboard] Refactor of onekey to support multiple development boards (#6017)
* Initial refactor of onekey to support multiple development boards * Fixes to get teensy lc && 3.2 working * Add pin tables * Add caveats to Teensy boards * Correct bootloader for Elite-C
This commit is contained in:
parent
01fb06af6c
commit
2a56b61a28
44 changed files with 4142 additions and 77 deletions
10
keyboards/handwired/onekey/bluepill/bootloader_defs.h
Normal file
10
keyboards/handwired/onekey/bluepill/bootloader_defs.h
Normal file
|
@ -0,0 +1,10 @@
|
|||
/* Address for jumping to bootloader on STM32 chips. */
|
||||
/* It is chip dependent, the correct number can be looked up here (page 175):
|
||||
* http://www.st.com/web/en/resource/technical/document/application_note/CD00167594.pdf
|
||||
* This also requires a patch to chibios:
|
||||
* <tmk_dir>/tmk_core/tool/chibios/ch-bootloader-jump.patch
|
||||
*/
|
||||
|
||||
// STM32F103* does NOT have an USB bootloader in ROM (only serial),
|
||||
// so setting anything here does not make much sense
|
||||
#define STM32_BOOTLOADER_ADDRESS 0x80000000
|
Loading…
Add table
Add a link
Reference in a new issue