Add HackRF factory firmware to basebands image.

This commit is contained in:
Jared Boone
2016-06-30 19:37:05 -07:00
parent 61f954dbeb
commit c3d81f1496
2 changed files with 16 additions and 0 deletions

View File

@@ -330,6 +330,21 @@ set(MODE_CPPSRC
)
DeclareTargets(PSPE wideband_spectrum)
### HackRF "factory" firmware
add_custom_target(
hackrf.bin
COMMAND ${STRIP_DFU} ${HACKRF_FIRMWARE_IMAGE} hackrf.bin
)
add_custom_target(
hackrf.img
COMMAND ${MAKE_IMAGE_CHUNK} hackrf.bin HRF1 hackrf.img
DEPENDS hackrf.bin
)
set(BASEBAND_IMAGES ${BASEBAND_IMAGES} hackrf.img)
#######################################################################
add_custom_target(