summaryrefslogtreecommitdiff
path: root/keyboards/chibios_test/stm32_f072_onekey/bootloader_defs.h
diff options
context:
space:
mode:
authorFred Sundvik <fsundvik@gmail.com>2016-07-05 13:48:12 +0300
committerFred Sundvik <fsundvik@gmail.com>2016-07-05 14:56:34 +0300
commitb11657d1c8a3360779b6b412806d89ca3175fc5f (patch)
treed1c3bd6f08f759bff82e9e976f3d42f62a9dc459 /keyboards/chibios_test/stm32_f072_onekey/bootloader_defs.h
parent94d3159d9dbdf711b830c6d7c5a53324097be0a5 (diff)
Suprojects for ChibiOS testing
Diffstat (limited to 'keyboards/chibios_test/stm32_f072_onekey/bootloader_defs.h')
-rw-r--r--keyboards/chibios_test/stm32_f072_onekey/bootloader_defs.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/keyboards/chibios_test/stm32_f072_onekey/bootloader_defs.h b/keyboards/chibios_test/stm32_f072_onekey/bootloader_defs.h
new file mode 100644
index 0000000000..02c48c4e6d
--- /dev/null
+++ b/keyboards/chibios_test/stm32_f072_onekey/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