summaryrefslogtreecommitdiff
path: root/keyboards/cannonkeys/ortho48/bootloader_defs.h
diff options
context:
space:
mode:
authorAndrew Kannan <andrew.kannan@klaviyo.com>2019-01-29 23:04:20 -0500
committerDrashna Jaelre <drashna@live.com>2019-01-29 20:04:20 -0800
commit7186d1581abbd97d7c76626ae83fc866e85d217c (patch)
tree1a6cf65f38f00f48e1539a8c01418cf770119a37 /keyboards/cannonkeys/ortho48/bootloader_defs.h
parent74fcfd533508d5743a20a7cd7faba404f8fc7cd3 (diff)
downloadqmk_firmware-7186d1581abbd97d7c76626ae83fc866e85d217c.tar.gz
qmk_firmware-7186d1581abbd97d7c76626ae83fc866e85d217c.zip
Moving cannonkeys boards to one place, eeprom fix (#4999)
* Move boards to cannonkeys and share resources * Share common files between cannonkey boards * Fix ortho60 keymap * update LED numbers * Add RGB keys to Ortho60 and Ortho48 * Add Backlight control to default layout Ortho60 and 48 * Remove unnecessary ws2812.c SRC from rules.mk
Diffstat (limited to 'keyboards/cannonkeys/ortho48/bootloader_defs.h')
-rw-r--r--keyboards/cannonkeys/ortho48/bootloader_defs.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/keyboards/cannonkeys/ortho48/bootloader_defs.h b/keyboards/cannonkeys/ortho48/bootloader_defs.h
new file mode 100644
index 0000000000..6b8fa9f727
--- /dev/null
+++ b/keyboards/cannonkeys/ortho48/bootloader_defs.h
@@ -0,0 +1,10 @@
+/* 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 an USB bootloader in ROM (only serial),
+// so setting anything here does not make much sense
+#define STM32_BOOTLOADER_ADDRESS 0x80000000