mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
boards: make DFU_USB_ID and DFU_USE_DFUSE overridable
This commit is contained in:
parent
1d9e2cc4f6
commit
941d6be666
@ -5,7 +5,8 @@ INCLUDES += -I$(RIOTBOARD)/common/blxxxpill/include
|
|||||||
# For older versions of the DFU bootloader, set DFU_USB_ID to 1d50:6017
|
# For older versions of the DFU bootloader, set DFU_USB_ID to 1d50:6017
|
||||||
DFU_USB_ID ?= 1eaf:0003
|
DFU_USB_ID ?= 1eaf:0003
|
||||||
DFU_ALT ?= 2
|
DFU_ALT ?= 2
|
||||||
DFU_USE_DFUSE = 1
|
DFU_USE_DFUSE ?= 1
|
||||||
|
|
||||||
# If using STM32duino bootloader, this change is necessary.
|
# If using STM32duino bootloader, this change is necessary.
|
||||||
# Bootloader available at
|
# Bootloader available at
|
||||||
# github.com/rogerclarkmelbourne/STM32duino-bootloader/tree/master/binaries
|
# github.com/rogerclarkmelbourne/STM32duino-bootloader/tree/master/binaries
|
||||||
|
@ -4,7 +4,7 @@ INCLUDES += -I$(RIOTBOARD)/common/weact-f4x1cx/include
|
|||||||
# default to flashing over USB
|
# default to flashing over USB
|
||||||
PROGRAMMER ?= dfu-util
|
PROGRAMMER ?= dfu-util
|
||||||
DFU_USB_ID ?= 0483:df11
|
DFU_USB_ID ?= 0483:df11
|
||||||
DFU_USE_DFUSE = 1
|
DFU_USE_DFUSE ?= 1
|
||||||
ROM_OFFSET ?= 0x0
|
ROM_OFFSET ?= 0x0
|
||||||
|
|
||||||
# CDC ACM is available faster on STM32
|
# CDC ACM is available faster on STM32
|
||||||
|
@ -7,8 +7,8 @@ PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.SLAB_USBtoUART*)))
|
|||||||
|
|
||||||
# this board is flashed using DFU
|
# this board is flashed using DFU
|
||||||
PROGRAMMER ?= dfu-util
|
PROGRAMMER ?= dfu-util
|
||||||
DFU_USB_ID = 0483:df11
|
DFU_USB_ID ?= 0483:df11
|
||||||
DFU_USE_DFUSE = 1
|
DFU_USE_DFUSE ?= 1
|
||||||
|
|
||||||
# dfu-util programmer is supported
|
# dfu-util programmer is supported
|
||||||
PROGRAMMERS_SUPPORTED += dfu-util
|
PROGRAMMERS_SUPPORTED += dfu-util
|
||||||
|
@ -8,5 +8,5 @@ PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.SLAB_USBtoUART*)))
|
|||||||
# this board is flashed using DFU
|
# this board is flashed using DFU
|
||||||
PROGRAMMER ?= dfu-util
|
PROGRAMMER ?= dfu-util
|
||||||
PROGRAMMERS_SUPPORTED += dfu-util
|
PROGRAMMERS_SUPPORTED += dfu-util
|
||||||
DFU_USB_ID = 1d50:607f
|
DFU_USB_ID ?= 1d50:607f
|
||||||
DFU_USE_DFUSE = 1
|
DFU_USE_DFUSE ?= 1
|
||||||
|
@ -10,7 +10,7 @@ ROM_OFFSET ?= 0x5000
|
|||||||
|
|
||||||
# this board is flashed using DFU
|
# this board is flashed using DFU
|
||||||
PROGRAMMER ?= dfu-util
|
PROGRAMMER ?= dfu-util
|
||||||
DFU_USB_ID = 1d50:607f
|
DFU_USB_ID ?= 1d50:607f
|
||||||
DFU_USE_DFUSE = 1
|
DFU_USE_DFUSE ?= 1
|
||||||
|
|
||||||
PROGRAMMERS_SUPPORTED += dfu-util
|
PROGRAMMERS_SUPPORTED += dfu-util
|
||||||
|
Loading…
Reference in New Issue
Block a user