summaryrefslogtreecommitdiffstats
path: root/quantum
diff options
context:
space:
mode:
authorDrashna Jaelre <drashna@live.com>2019-05-03 17:24:22 +0200
committerMechMerlin <30334081+mechmerlin@users.noreply.github.com>2019-05-03 17:24:22 +0200
commit41beecfc1847bd0039c508753a212fa18f207e3f (patch)
tree48569d636367b6f1ec50d7010ebf47315f4412d8 /quantum
parent29f68459a01c155ca64aed4ec0ba083d0dee0d2e (diff)
downloadqmk_firmware-41beecfc1847bd0039c508753a212fa18f207e3f.tar.gz
qmk_firmware-41beecfc1847bd0039c508753a212fa18f207e3f.tar.xz
Add DFU Suffix for ARM boards (#5763)
* Add DFU Suffix for ARM boards * Blindly flash DFU SUFFIX ARGS for now * Fix commented out check * Fix DFU Suffix Argument check Thank you jack! * Update Travis CI Scripts to include dfu-util So we can get dfu-suffix as well * Manually add dfu-suffix package * Use external repo for newer version of dfu-util One that includes dfu-suffix * Update .travis.yml * Silence unnecessary output from dfu-suffix
Diffstat (limited to 'quantum')
-rw-r--r--quantum/mcu_selection.mk1
-rw-r--r--quantum/stm32/proton_c.mk1
2 files changed, 2 insertions, 0 deletions
diff --git a/quantum/mcu_selection.mk b/quantum/mcu_selection.mk
index 209b578ea..fa6dc8b53 100644
--- a/quantum/mcu_selection.mk
+++ b/quantum/mcu_selection.mk
@@ -34,6 +34,7 @@ ifneq ($(findstring STM32F303, $(MCU)),)
# Options to pass to dfu-util when flashing
DFU_ARGS ?= -d 0483:df11 -a 0 -s 0x08000000:leave
+ DFU_SUFFIX_ARGS = -p DF11 -v 0483
endif
ifneq (,$(filter $(MCU),atmega32u4 at90usb1286))
diff --git a/quantum/stm32/proton_c.mk b/quantum/stm32/proton_c.mk
index a0fa01373..a65e283d3 100644
--- a/quantum/stm32/proton_c.mk
+++ b/quantum/stm32/proton_c.mk
@@ -42,3 +42,4 @@ OPT_DEFS =
# Options to pass to dfu-util when flashing
DFU_ARGS = -d 0483:df11 -a 0 -s 0x08000000:leave
+DFU_SUFFIX_ARGS = -p df11 -v 0483