mirror of
https://github.com/rene-dev/stmbl.git
synced 2026-02-05 18:01:21 +08:00
add VID:PID to satisfy dfu-util if more than one compatible target is present
This commit is contained in:
2
Makefile
2
Makefile
@@ -224,7 +224,7 @@ showsize: build
|
||||
btburn: hv build showsize $(TARGET).dfu
|
||||
@tools/bootloader.py
|
||||
@sleep 1
|
||||
@dfu-util -a 0 -s 0x08010000:leave -D $(TARGET).dfu
|
||||
@dfu-util -d 0483:df11 -a 0 -s 0x08010000:leave -D $(TARGET).dfu
|
||||
|
||||
flash: hv $(TARGET).bin
|
||||
st-flash --reset write $(TARGET).bin 0x08010000
|
||||
|
||||
Reference in New Issue
Block a user