From e08adb0dff4794a765ec2e14febba934f715b5ba Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Tue, 1 Nov 2022 08:53:01 +0100 Subject: [PATCH] fw/e1-tracer: restrict dfu programming to e1-tracer devices Let's explicitly specify the VID/PID of the e1-tracer in the dfu-util invocation 'make dfuprog' to avoid accidentially programming other attached dfu capable devices. Change-Id: I6a17f01a621cd4af6827167427fafd2f9f277755 --- firmware/ice40-riscv/e1-tracer/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firmware/ice40-riscv/e1-tracer/Makefile b/firmware/ice40-riscv/e1-tracer/Makefile index 8161066..030501e 100644 --- a/firmware/ice40-riscv/e1-tracer/Makefile +++ b/firmware/ice40-riscv/e1-tracer/Makefile @@ -84,7 +84,7 @@ prog: $(GITVER).bin $(ICEPROG) -o 640k $< dfuprog: $(GITVER).bin - $(DFU_UTIL) -R -a 1 -D $< + $(DFU_UTIL) -R -d 1d50:6151,1d50:6150 -a 1 -D $< clean: