mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-03-26 00:18:07 -04:00
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:
parent
5d2ad9c1aa
commit
2396d2d97a
@ -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}
|
||||
|
Loading…
x
Reference in New Issue
Block a user