summaryrefslogtreecommitdiff
path: root/keyboards/durgod
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2022-01-06 06:55:46 +1100
committerGitHub <noreply@github.com>2022-01-06 06:55:46 +1100
commit5fb93934d0f3319547cc6313845fe5a96f8b7798 (patch)
treef03930762c7477d6ef7506bceeb6c27b35994f2f /keyboards/durgod
parent99e11f482314e3fa061f06e193663544fa938a8c (diff)
downloadqmk_firmware-5fb93934d0f3319547cc6313845fe5a96f8b7798.tar.gz
qmk_firmware-5fb93934d0f3319547cc6313845fe5a96f8b7798.zip
Fixes for bootloader refactor build failures (#15638)
Diffstat (limited to 'keyboards/durgod')
-rw-r--r--keyboards/durgod/boards/DURGOD_STM32_F070/bootloader_defs.h7
-rw-r--r--keyboards/durgod/dgk6x/rules.mk4
2 files changed, 3 insertions, 8 deletions
diff --git a/keyboards/durgod/boards/DURGOD_STM32_F070/bootloader_defs.h b/keyboards/durgod/boards/DURGOD_STM32_F070/bootloader_defs.h
deleted file mode 100644
index 02c48c4e6d..0000000000
--- a/keyboards/durgod/boards/DURGOD_STM32_F070/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/durgod/dgk6x/rules.mk b/keyboards/durgod/dgk6x/rules.mk
index 56c5b1ac24..660719104d 100644
--- a/keyboards/durgod/dgk6x/rules.mk
+++ b/keyboards/durgod/dgk6x/rules.mk
@@ -1,9 +1,11 @@
# MCU name
# Actually F070, but close enough
MCU = STM32F072
-
BOARD = DURGOD_STM32_F070
+# Bootloader selection
+BOOTLOADER = stm32-dfu
+
# Do not put the microcontroller into power saving mode
NO_SUSPEND_POWER_DOWN = yes