Specify vid and pid of device for upload target (#877)
Co-authored-by: あく <alleteam@gmail.com>
This commit is contained in:
parent
f54ae2597e
commit
02ba5692e4
@ -77,7 +77,7 @@ $(OBJ_DIR)/flash: $(OBJ_DIR)/$(PROJECT).bin
|
|||||||
touch $@
|
touch $@
|
||||||
|
|
||||||
$(OBJ_DIR)/upload: $(OBJ_DIR)/$(PROJECT).bin
|
$(OBJ_DIR)/upload: $(OBJ_DIR)/$(PROJECT).bin
|
||||||
dfu-util -D $(OBJ_DIR)/$(PROJECT).bin -a 0 -s $(FLASH_ADDRESS) $(DFU_OPTIONS)
|
dfu-util -d 0xdf11:0x0483 -D $(OBJ_DIR)/$(PROJECT).bin -a 0 -s $(FLASH_ADDRESS) $(DFU_OPTIONS)
|
||||||
touch $@
|
touch $@
|
||||||
|
|
||||||
flash: $(OBJ_DIR)/flash
|
flash: $(OBJ_DIR)/flash
|
||||||
|
Loading…
Reference in New Issue
Block a user