add VID:PID to satisfy dfu-util if more than one compatible target is present

This commit is contained in:
Shure
2016-09-18 03:47:06 +02:00
parent 5915afb7f5
commit 216cb6a5ab

View File

@@ -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