mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-08-14 10:27:45 +00: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:
@@ -59,7 +59,7 @@ add_custom_target(
|
|||||||
|
|
||||||
add_custom_target(
|
add_custom_target(
|
||||||
program
|
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 sleep 1s
|
||||||
COMMAND hackrf_spiflash -w ${FIRMWARE_FILENAME}
|
COMMAND hackrf_spiflash -w ${FIRMWARE_FILENAME}
|
||||||
DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/${FIRMWARE_FILENAME}
|
DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/${FIRMWARE_FILENAME}
|
||||||
|
Reference in New Issue
Block a user