boards/stm32f103c8: update dfu-util flash flags
The latest bootloader has new usb device id and needs different parameters to flash a RIOT image using `dfu-util`.
This commit is contained in:
parent
90c4ddcfb1
commit
9b23863804
@ -23,7 +23,9 @@ ifeq ($(PROGRAMMER),dfu-util)
|
||||
export RESET = # dfu-util has no support for resetting the device
|
||||
|
||||
HEXFILE = $(BINFILE)
|
||||
export FFLAGS = -d 1d50:6017 -s 0x08002000:leave -D "$(HEXFILE)"
|
||||
export FFLAGS = -d 1eaf:0003 -a 2 -D "$(HEXFILE)"
|
||||
# for older bootloader versions use this:
|
||||
#export FFLAGS = -d 1d50:6017 -s 0x08002000:leave -D "$(HEXFILE)"
|
||||
else
|
||||
|
||||
# this board uses openocd by default
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user