aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/cannonkeys/chimera65/bootloader_defs.h
diff options
context:
space:
mode:
authorGravatar Andrew Kannan <andrew.kannan@klaviyo.com>2019-09-16 22:37:51 -0400
committerGravatar MechMerlin <30334081+mechmerlin@users.noreply.github.com>2019-09-16 19:37:51 -0700
commit59af2cbe640191345175bf34fd65f78ab1036647 (patch)
tree52fa752e63ca9f7c3056ac78cfbaf8cdd12f328f /keyboards/cannonkeys/chimera65/bootloader_defs.h
parent7c1bb9decf00a19cdf85ab33830dcc9002bfc671 (diff)
downloadqmk_firmware-59af2cbe640191345175bf34fd65f78ab1036647.tar.gz
Add Chimera65 Keyboard (#6670)
* Add chimera board * info json start * Update keyboards/cannonkeys/chimera65/config.h Co-Authored-By: Drashna Jaelre <drashna@live.com> * Apply suggestions from code review Co-Authored-By: Drashna Jaelre <drashna@live.com> Co-Authored-By: noroadsleft <18669334+noroadsleft@users.noreply.github.com> * Update keyboards/cannonkeys/chimera65/config.h Co-Authored-By: Drashna Jaelre <drashna@live.com>
Diffstat (limited to 'keyboards/cannonkeys/chimera65/bootloader_defs.h')
-rw-r--r--keyboards/cannonkeys/chimera65/bootloader_defs.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/keyboards/cannonkeys/chimera65/bootloader_defs.h b/keyboards/cannonkeys/chimera65/bootloader_defs.h
new file mode 100644
index 000000000..02c48c4e6
--- /dev/null
+++ b/keyboards/cannonkeys/chimera65/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 (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
+ */
+#define STM32_BOOTLOADER_ADDRESS 0x1FFFC800