mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-11-09 07:18:56 -05: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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue