mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-01-12 15:33:38 +00:00
Solving_error_dfu_util_v_011_integrated_vscode (#1055)
This commit is contained in:
parent
67b5b57533
commit
9e63d80667
@ -53,7 +53,7 @@ add_custom_target(
|
||||
|
||||
add_custom_target(
|
||||
program
|
||||
COMMAND dfu-util --device 1fc9:000c --download ${HACKRF_FIRMWARE_DFU_IMAGE}
|
||||
COMMAND dfu-util --device 1fc9:000c --download ${HACKRF_FIRMWARE_DFU_IMAGE} || (exit 0) # We need to add it for dfu-utils v.011 , (in v.09 it is not necessary)
|
||||
COMMAND sleep 3s
|
||||
COMMAND hackrf_spiflash -w ${FIRMWARE_FILENAME}
|
||||
DEPENDS ${FIRMWARE_FILENAME}
|
||||
|
Loading…
x
Reference in New Issue
Block a user