aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/nk65/bootloader_defs.h
diff options
context:
space:
mode:
authoryiancar <yiangosyiangou@cytanet.com.cy>2019-05-16 05:09:36 +0100
committerMechMerlin <30334081+mechmerlin@users.noreply.github.com>2019-05-15 21:09:36 -0700
commitacd3e79add2d47ab664b831936e5b6e71d3b8e15 (patch)
tree7fede0ba898a56246cbd02d72378d84c03974f8d /keyboards/nk65/bootloader_defs.h
parent8680c50d07604836b0fc7c3f97bd77c7830ea083 (diff)
downloadfirmware-acd3e79add2d47ab664b831936e5b6e71d3b8e15.tar.gz
firmware-acd3e79add2d47ab664b831936e5b6e71d3b8e15.tar.bz2
firmware-acd3e79add2d47ab664b831936e5b6e71d3b8e15.zip
NK65 Addition (#5865)
* Nk65 initial commit * Minor fix for compatibility * Make everything pretty * Update keyboards/nk65/config.h Co-Authored-By: noroadsleft <18669334+noroadsleft@users.noreply.github.com> * Update keyboards/nk65/readme.md Co-Authored-By: noroadsleft <18669334+noroadsleft@users.noreply.github.com> * Chmod Dummy * Update getting_started_introduction.md * Revert "Update getting_started_introduction.md" This reverts commit daf446acf7ae4ae00488b389ce04f2cfca708d44.
Diffstat (limited to 'keyboards/nk65/bootloader_defs.h')
-rwxr-xr-xkeyboards/nk65/bootloader_defs.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/keyboards/nk65/bootloader_defs.h b/keyboards/nk65/bootloader_defs.h
new file mode 100755
index 000000000..3b0e9d20a
--- /dev/null
+++ b/keyboards/nk65/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 0x1FFFD800