From 9708b30965c7cdbe2faafba1442855027f9a9ebb Mon Sep 17 00:00:00 2001 From: Oleg Kalachev Date: Tue, 7 Dec 2021 20:31:20 +0300 Subject: [PATCH] Fix pid and vid for dfu-util (#878) --- make/rules.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/make/rules.mk b/make/rules.mk index 70bf76be..a212f09c 100644 --- a/make/rules.mk +++ b/make/rules.mk @@ -77,7 +77,7 @@ $(OBJ_DIR)/flash: $(OBJ_DIR)/$(PROJECT).bin touch $@ $(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 $@ flash: $(OBJ_DIR)/flash