summaryrefslogtreecommitdiffstats
path: root/keyboards/wolfmarkclub/wm1/bootloader_defs.h
diff options
context:
space:
mode:
authorMechMerlin <30334081+mechmerlin@users.noreply.github.com>2020-05-21 13:34:28 -0700
committerGitHub <noreply@github.com>2020-05-21 13:34:28 -0700
commit9e4037465afe5a6e1888d4bf2a0b80fee9beed99 (patch)
tree51750172874782ec2bec916f8052d6b2d4b172ff /keyboards/wolfmarkclub/wm1/bootloader_defs.h
parentfd4f1029771fba4d620ca6cfc9710ccbba421206 (diff)
[Keyboard] Wolfmark Club WM1 (#9121)
* do the basic port for the WM1 * with much help from tzarc, get the addresses correct * make the keymap more closely mirror what the board has * Add QMK Configurator support * update the readme * get indicator leds working * enable RGB underglow * fix up rgb underglow * add notes regarding existence of backlight * Update keyboards/wolfmarkclub/wm1/readme.md * Update keyboards/wolfmarkclub/wm1/rules.mk * Update keyboards/wolfmarkclub/wm1/rules.mk * Update keyboards/wolfmarkclub/wm1/rules.mk * Update keyboards/wolfmarkclub/wm1/rules.mk * Update keyboards/wolfmarkclub/wm1/config.h * Update keyboards/wolfmarkclub/wm1/ld/wm1_f103.ld * Update keyboards/wolfmarkclub/wm1/bootloader_defs.h * Update keyboards/wolfmarkclub/wm1/config.h * Update keyboards/wolfmarkclub/wm1/rules.mk * Update keyboards/wolfmarkclub/wm1/wm1.c * Update keyboards/wolfmarkclub/wm1/wm1.c * Update keyboards/wolfmarkclub/wm1/rules.mk * Update keyboards/wolfmarkclub/wm1/rules.mk * Update keyboards/wolfmarkclub/wm1/readme.md * Update keyboards/wolfmarkclub/wm1/rules.mk * Update keyboards/wolfmarkclub/wm1/rules.mk * Update keyboards/wolfmarkclub/wm1/rules.mk * Update keyboards/wolfmarkclub/wm1/rules.mk * update readme
Diffstat (limited to 'keyboards/wolfmarkclub/wm1/bootloader_defs.h')
-rw-r--r--keyboards/wolfmarkclub/wm1/bootloader_defs.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/keyboards/wolfmarkclub/wm1/bootloader_defs.h b/keyboards/wolfmarkclub/wm1/bootloader_defs.h
new file mode 100644
index 0000000000..393d70fdc6
--- /dev/null
+++ b/keyboards/wolfmarkclub/wm1/bootloader_defs.h
@@ -0,0 +1,11 @@
+/* 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
+ */
+
+// STM32F103 does not have a USB bootloader in ROM -- the WM1
+// has a usermode USB mass storage device bootloader at the normal
+// boot address -- `0x08000000`.
+#define STM32_BOOTLOADER_ADDRESS 0x80000000