diff options
| author | Drashna Jaelre <drashna@live.com> | 2019-05-03 08:24:22 -0700 |
|---|---|---|
| committer | MechMerlin <30334081+mechmerlin@users.noreply.github.com> | 2019-05-03 08:24:22 -0700 |
| commit | 41beecfc1847bd0039c508753a212fa18f207e3f (patch) | |
| tree | 48569d636367b6f1ec50d7010ebf47315f4412d8 /quantum | |
| parent | 29f68459a01c155ca64aed4ec0ba083d0dee0d2e (diff) | |
| download | qmk_firmware-41beecfc1847bd0039c508753a212fa18f207e3f.tar.gz qmk_firmware-41beecfc1847bd0039c508753a212fa18f207e3f.zip | |
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.mk | 1 | ||||
| -rw-r--r-- | quantum/stm32/proton_c.mk | 1 |
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)),) | |||
| 34 | 34 | ||
| 35 | # Options to pass to dfu-util when flashing | 35 | # Options to pass to dfu-util when flashing |
| 36 | DFU_ARGS ?= -d 0483:df11 -a 0 -s 0x08000000:leave | 36 | DFU_ARGS ?= -d 0483:df11 -a 0 -s 0x08000000:leave |
| 37 | DFU_SUFFIX_ARGS = -p DF11 -v 0483 | ||
| 37 | endif | 38 | endif |
| 38 | 39 | ||
| 39 | ifneq (,$(filter $(MCU),atmega32u4 at90usb1286)) | 40 | 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 = | |||
| 42 | 42 | ||
| 43 | # Options to pass to dfu-util when flashing | 43 | # Options to pass to dfu-util when flashing |
| 44 | DFU_ARGS = -d 0483:df11 -a 0 -s 0x08000000:leave | 44 | DFU_ARGS = -d 0483:df11 -a 0 -s 0x08000000:leave |
| 45 | DFU_SUFFIX_ARGS = -p df11 -v 0483 | ||
