aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/matrix/m20add/bootloader_defs.h
diff options
context:
space:
mode:
authorGravatar yulei <yuleiz@gmail.com>2020-08-23 04:45:06 +0800
committerGravatar GitHub <noreply@github.com>2020-08-22 13:45:06 -0700
commitac3dfa742a92de541f86846b94269aab87d55d3c (patch)
treea14cd8d42a963e8aa2e50b214e57f89973f9ea8e /keyboards/matrix/m20add/bootloader_defs.h
parente02f4798f97f7432e8df55846f8eb496b6ac45d1 (diff)
downloadqmk_firmware-ac3dfa742a92de541f86846b94269aab87d55d3c.tar.gz
[Keyboard] added matrix 8xv2.0 additional (#9470)
* added matrix 8xv2.0 additional keyboard * Apply suggestions from code review Co-authored-by: James Young <18669334+noroadsleft@users.noreply.github.com> * add copyright and speed up the matrix scanning * Update keyboards/matrix/m20add/rules.mk Co-authored-by: Drashna Jaelre <drashna@live.com> Co-authored-by: James Young <18669334+noroadsleft@users.noreply.github.com> Co-authored-by: Drashna Jaelre <drashna@live.com>
Diffstat (limited to 'keyboards/matrix/m20add/bootloader_defs.h')
-rw-r--r--keyboards/matrix/m20add/bootloader_defs.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/keyboards/matrix/m20add/bootloader_defs.h b/keyboards/matrix/m20add/bootloader_defs.h
new file mode 100644
index 000000000..20b8f73e6
--- /dev/null
+++ b/keyboards/matrix/m20add/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