Update "make program" to specify DFU mode PID, too.

Addresses comment in issue #27.
This commit is contained in:
Jared Boone 2015-07-29 22:17:50 -07:00
parent 538d3d1f5e
commit 61eaf9f178

View File

@ -49,7 +49,7 @@ release: $(TARGET).bin $(DFU_HACKRF) $(LICENSE)
rm -f LICENSE
program: $(TARGET).bin
dfu-util --device 1fc9 --download hackrf_one_usb_ram.dfu --reset
dfu-util --device 1fc9:000c --download hackrf_one_usb_ram.dfu --reset
sleep 1s
hackrf_spiflash -w $(TARGET).bin