mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-11-26 22:40:25 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -77,7 +77,7 @@ $(OBJ_DIR)/flash: $(OBJ_DIR)/$(PROJECT).bin
|
|||
touch $@
|
||||
|
||||
$(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 $@
|
||||
|
||||
flash: $(OBJ_DIR)/flash
|
||||
|
|
Loading…
Reference in a new issue