summaryrefslogtreecommitdiffstats
path: root/keyboards/candybar/bootloader_defs.h
diff options
context:
space:
mode:
authorTerryMathews <terry@terrymathews.net>2019-01-19 01:19:14 -0500
committerDrashna Jaelre <drashna@live.com>2019-01-18 22:19:14 -0800
commitebec12fbe8bff9b657f3fe6abee67e37ef0a1ba6 (patch)
treeab24e1a85478e5d4de4c997416e63a074dc58c0e /keyboards/candybar/bootloader_defs.h
parentc4680a6460bcc0a3695f3e9232089374c40fc29c (diff)
[Keyboard] Initial support for TKC Candybar (#4881)
* Initial support for TKC Candybar * Correct FN layer issue Both shift keys were overloaded. Moved Caps Lock to FN + C. * Update keyboard description in config.h. * Info.json * Update project information * Update keyboards/candybar/readme.md Co-Authored-By: TerryMathews <terry@terrymathews.net>
Diffstat (limited to 'keyboards/candybar/bootloader_defs.h')
-rw-r--r--keyboards/candybar/bootloader_defs.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/keyboards/candybar/bootloader_defs.h b/keyboards/candybar/bootloader_defs.h
new file mode 100644
index 0000000000..43eb7b2f62
--- /dev/null
+++ b/keyboards/candybar/bootloader_defs.h
@@ -0,0 +1,7 @@
+/* Address for jumping to bootloader on STM32 chips. */
+/* It is chip dependent, the correct number can be looked up here:
+ * 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
+ */
+#define STM32_BOOTLOADER_ADDRESS 0x1FFFC800