summaryrefslogtreecommitdiff
path: root/keyboards
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2020-02-13 19:39:22 +0000
committerGitHub <noreply@github.com>2020-02-13 19:39:22 +0000
commit014ad1d747d1688dc12a690282deae00a8efb88c (patch)
tree6907527114244b0c79da7847451a5c2d85853e56 /keyboards
parent1a77abfe64f08a0b72f4f328418b4f4dc138ac8d (diff)
downloadqmk_firmware-014ad1d747d1688dc12a690282deae00a8efb88c.tar.gz
qmk_firmware-014ad1d747d1688dc12a690282deae00a8efb88c.zip
Fix RESET keycode on some STM32F072 keyboards (#8134)
* Add f072 board files with 'enter_bootloader_mode_if_requested' support * rename default f072 board file to GENERIC_STM32_F072XB * Remove board files * Add bootloader def * Update generic f072 board paths * Revert wrong deletion
Diffstat (limited to 'keyboards')
-rw-r--r--keyboards/at_at/660m/rules.mk1
-rw-r--r--keyboards/candybar/rules.mk1
-rw-r--r--keyboards/cannonkeys/an_c/rules.mk1
-rw-r--r--keyboards/cannonkeys/chimera65/rules.mk1
-rw-r--r--keyboards/cannonkeys/instant60/rules.mk1
-rw-r--r--keyboards/cannonkeys/iron165/rules.mk1
-rw-r--r--keyboards/cannonkeys/satisfaction75/rules.mk1
-rw-r--r--keyboards/cannonkeys/savage65/rules.mk1
-rw-r--r--keyboards/cannonkeys/tmov2/rules.mk1
-rw-r--r--keyboards/handwired/ck4x4/bootloader_defs.h7
-rw-r--r--keyboards/projectkb/alice/rules.mk1
-rw-r--r--keyboards/xiaomi/mk02/rules.mk1
12 files changed, 11 insertions, 7 deletions
diff --git a/keyboards/at_at/660m/rules.mk b/keyboards/at_at/660m/rules.mk
index 0b3685f09e..8c69ff7e24 100644
--- a/keyboards/at_at/660m/rules.mk
+++ b/keyboards/at_at/660m/rules.mk
@@ -1,5 +1,6 @@
# MCU name
MCU = STM32F072
+BOARD = ST_STM32F072B_DISCOVERY
# Build Options
# comment out to disable the options.
diff --git a/keyboards/candybar/rules.mk b/keyboards/candybar/rules.mk
index cb1b832886..4e89dbf477 100644
--- a/keyboards/candybar/rules.mk
+++ b/keyboards/candybar/rules.mk
@@ -1,5 +1,6 @@
# MCU name
MCU = STM32F072
+BOARD = ST_STM32F072B_DISCOVERY
# Build Options
# comment out to disable the options.
diff --git a/keyboards/cannonkeys/an_c/rules.mk b/keyboards/cannonkeys/an_c/rules.mk
index 2050ba34c4..faaed5c1ab 100644
--- a/keyboards/cannonkeys/an_c/rules.mk
+++ b/keyboards/cannonkeys/an_c/rules.mk
@@ -1,5 +1,6 @@
# MCU name
MCU = STM32F072
+BOARD = ST_STM32F072B_DISCOVERY
# Build Options
# comment out to disable the options.
diff --git a/keyboards/cannonkeys/chimera65/rules.mk b/keyboards/cannonkeys/chimera65/rules.mk
index 9b1ab58991..7476e5f007 100644
--- a/keyboards/cannonkeys/chimera65/rules.mk
+++ b/keyboards/cannonkeys/chimera65/rules.mk
@@ -1,5 +1,6 @@
# MCU name
MCU = STM32F072
+BOARD = ST_STM32F072B_DISCOVERY
# Build Options
# comment out to disable the options.
diff --git a/keyboards/cannonkeys/instant60/rules.mk b/keyboards/cannonkeys/instant60/rules.mk
index 0b4afd8da8..7ae14c4986 100644
--- a/keyboards/cannonkeys/instant60/rules.mk
+++ b/keyboards/cannonkeys/instant60/rules.mk
@@ -1,5 +1,6 @@
# MCU name
MCU = STM32F072
+BOARD = ST_STM32F072B_DISCOVERY
# Build Options
# comment out to disable the options.
diff --git a/keyboards/cannonkeys/iron165/rules.mk b/keyboards/cannonkeys/iron165/rules.mk
index 33529718eb..795e2baf8d 100644
--- a/keyboards/cannonkeys/iron165/rules.mk
+++ b/keyboards/cannonkeys/iron165/rules.mk
@@ -1,5 +1,6 @@
# MCU name
MCU = STM32F072
+BOARD = ST_STM32F072B_DISCOVERY
# Build Options
# comment out to disable the options.
diff --git a/keyboards/cannonkeys/satisfaction75/rules.mk b/keyboards/cannonkeys/satisfaction75/rules.mk
index 5fd8018194..6584bb5ff3 100644
--- a/keyboards/cannonkeys/satisfaction75/rules.mk
+++ b/keyboards/cannonkeys/satisfaction75/rules.mk
@@ -1,5 +1,6 @@
# MCU name
MCU = STM32F072
+BOARD = ST_STM32F072B_DISCOVERY
# Build Options
# comment out to disable the options.
diff --git a/keyboards/cannonkeys/savage65/rules.mk b/keyboards/cannonkeys/savage65/rules.mk
index 1c1c4c2ec4..bf4b9a2897 100644
--- a/keyboards/cannonkeys/savage65/rules.mk
+++ b/keyboards/cannonkeys/savage65/rules.mk
@@ -1,5 +1,6 @@
# MCU name
MCU = STM32F072
+BOARD = ST_STM32F072B_DISCOVERY
# Build Options
# comment out to disable the options.
diff --git a/keyboards/cannonkeys/tmov2/rules.mk b/keyboards/cannonkeys/tmov2/rules.mk
index 646288504c..7d29079c37 100644
--- a/keyboards/cannonkeys/tmov2/rules.mk
+++ b/keyboards/cannonkeys/tmov2/rules.mk
@@ -1,5 +1,6 @@
# MCU name
MCU = STM32F072
+BOARD = ST_STM32F072B_DISCOVERY
# Build Options
# comment out to disable the options.
diff --git a/keyboards/handwired/ck4x4/bootloader_defs.h b/keyboards/handwired/ck4x4/bootloader_defs.h
deleted file mode 100644
index 02c48c4e6d..0000000000
--- a/keyboards/handwired/ck4x4/bootloader_defs.h
+++ /dev/null
@@ -1,7 +0,0 @@
-/* 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
- */
-#define STM32_BOOTLOADER_ADDRESS 0x1FFFC800
diff --git a/keyboards/projectkb/alice/rules.mk b/keyboards/projectkb/alice/rules.mk
index 97fcc754da..503bc7ad70 100644
--- a/keyboards/projectkb/alice/rules.mk
+++ b/keyboards/projectkb/alice/rules.mk
@@ -1,5 +1,6 @@
# MCU name
MCU = STM32F072
+BOARD = ST_STM32F072B_DISCOVERY
# Build Options
# comment out to disable the options.
diff --git a/keyboards/xiaomi/mk02/rules.mk b/keyboards/xiaomi/mk02/rules.mk
index 93ff487dc8..730fb0a894 100644
--- a/keyboards/xiaomi/mk02/rules.mk
+++ b/keyboards/xiaomi/mk02/rules.mk
@@ -1,5 +1,6 @@
# MCU name
MCU = STM32F072
+BOARD = ST_STM32F072B_DISCOVERY
MCU_LDSCRIPT = STM32F072_0x2000_bootloader
DFU_ARGS = -d 0483:df11 -a 0 -s 0x08002000:leave