Fix pid and vid for dfu-util (#878)

This commit is contained in:
Oleg Kalachev 2021-12-07 20:31:20 +03:00 committed by GitHub
parent 02ba5692e4
commit 9708b30965
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 0xdf11:0x0483 -D $(OBJ_DIR)/$(PROJECT).bin -a 0 -s $(FLASH_ADDRESS) $(DFU_OPTIONS) dfu-util -d 0483:df11 -D $(OBJ_DIR)/$(PROJECT).bin -a 0 -s $(FLASH_ADDRESS) $(DFU_OPTIONS)
touch $@ touch $@
flash: $(OBJ_DIR)/flash flash: $(OBJ_DIR)/flash