summaryrefslogtreecommitdiffstats
path: root/keyboards/matrix/noah/bootloader_defs.h
diff options
context:
space:
mode:
authoryulei <yuleiz@gmail.com>2019-11-27 23:54:02 +0800
committerMechMerlin <30334081+mechmerlin@users.noreply.github.com>2019-11-27 07:54:02 -0800
commit265c415f5e13b32fd14f06d8af4ae2498ba9059b (patch)
tree95a9820ec26722e42db85b19a8e32ded3da3fb7a /keyboards/matrix/noah/bootloader_defs.h
parent2b318ba01b6e504bfe5f300f8459afc849e104b7 (diff)
adding noah keyboard (#7432)
* adding noah keyboard * Update keyboards/matrix/noah/config.h Co-Authored-By: Drashna Jaelre <drashna@live.com> * Update keyboards/matrix/noah/noah.c Co-Authored-By: Drashna Jaelre <drashna@live.com>
Diffstat (limited to 'keyboards/matrix/noah/bootloader_defs.h')
-rw-r--r--keyboards/matrix/noah/bootloader_defs.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/keyboards/matrix/noah/bootloader_defs.h b/keyboards/matrix/noah/bootloader_defs.h
new file mode 100644
index 0000000000..20b8f73e6f
--- /dev/null
+++ b/keyboards/matrix/noah/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 0x1FFF0000