CMake: Remove DFU --reset, which fails build if reset fails.

dfu-util will often complain of reset not succeeding (which is apparently fine), then halting the programming phase (which is not fine).
This commit is contained in:
Jared Boone 2016-08-31 11:23:42 -07:00
parent 5d2ad9c1aa
commit 2396d2d97a

View File

@ -59,7 +59,7 @@ add_custom_target(
add_custom_target(
program
COMMAND dfu-util --device 1fc9:000c --download ${HACKRF_FIRMWARE_IMAGE} --reset
COMMAND dfu-util --device 1fc9:000c --download ${HACKRF_FIRMWARE_IMAGE}
COMMAND sleep 1s
COMMAND hackrf_spiflash -w ${FIRMWARE_FILENAME}
DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/${FIRMWARE_FILENAME}