1
0
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:
Gunar Schorcht 2022-11-26 18:26:58 +01:00
parent 1d9e2cc4f6
commit 941d6be666
5 changed files with 9 additions and 8 deletions

View File

@ -5,7 +5,8 @@ INCLUDES += -I$(RIOTBOARD)/common/blxxxpill/include
# For older versions of the DFU bootloader, set DFU_USB_ID to 1d50:6017
DFU_USB_ID ?= 1eaf:0003
DFU_ALT ?= 2
DFU_USE_DFUSE = 1
DFU_USE_DFUSE ?= 1
# If using STM32duino bootloader, this change is necessary.
# Bootloader available at
# github.com/rogerclarkmelbourne/STM32duino-bootloader/tree/master/binaries

View File

@ -4,7 +4,7 @@ INCLUDES += -I$(RIOTBOARD)/common/weact-f4x1cx/include
# default to flashing over USB
PROGRAMMER ?= dfu-util
DFU_USB_ID ?= 0483:df11
DFU_USE_DFUSE = 1
DFU_USE_DFUSE ?= 1
ROM_OFFSET ?= 0x0
# CDC ACM is available faster on STM32

View File

@ -7,8 +7,8 @@ PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.SLAB_USBtoUART*)))
# this board is flashed using DFU
PROGRAMMER ?= dfu-util
DFU_USB_ID = 0483:df11
DFU_USE_DFUSE = 1
DFU_USB_ID ?= 0483:df11
DFU_USE_DFUSE ?= 1
# dfu-util programmer is supported
PROGRAMMERS_SUPPORTED += dfu-util

View File

@ -8,5 +8,5 @@ PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.SLAB_USBtoUART*)))
# this board is flashed using DFU
PROGRAMMER ?= dfu-util
PROGRAMMERS_SUPPORTED += dfu-util
DFU_USB_ID = 1d50:607f
DFU_USE_DFUSE = 1
DFU_USB_ID ?= 1d50:607f
DFU_USE_DFUSE ?= 1

View File

@ -10,7 +10,7 @@ ROM_OFFSET ?= 0x5000
# this board is flashed using DFU
PROGRAMMER ?= dfu-util
DFU_USB_ID = 1d50:607f
DFU_USE_DFUSE = 1
DFU_USB_ID ?= 1d50:607f
DFU_USE_DFUSE ?= 1
PROGRAMMERS_SUPPORTED += dfu-util