1
0
Fork 0

[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:
Joel Challis 2019-06-26 18:52:09 +01:00 committed by Drashna Jaelre
parent 01fb06af6c
commit 2a56b61a28
44 changed files with 4142 additions and 77 deletions

View 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