mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-01-07 01:17:40 +00:00
Add fresh build of hackrf firmware to firmware zip (#2409)
* added fresh build of hackrf firmware to firmware zip * refactoring * refactoring
This commit is contained in:
parent
ac89ca2a2a
commit
8e2442f196
3
.github/workflows/create_nightly_release.yml
vendored
3
.github/workflows/create_nightly_release.yml
vendored
@ -61,6 +61,9 @@ jobs:
|
||||
- name: Unzip world map
|
||||
run: |
|
||||
unzip world_map.zip -d sdcard/ADSB
|
||||
- name: Prepare Firmware ZIP
|
||||
run: |
|
||||
cp build/hackrf/firmware/hackrf_usb/hackrf_usb.dfu flashing/utils/hackrf_one_usb.dfu && cp build/hackrf/firmware/hackrf_usb/hackrf_usb.bin flashing/utils/hackrf_one_usb.bin
|
||||
- name: Create Firmware ZIP
|
||||
run: |
|
||||
zip -j firmware.zip build/firmware/portapack-mayhem-firmware.bin && cd flashing && zip -r ../firmware.zip *
|
||||
|
3
.github/workflows/create_stable_release.yml
vendored
3
.github/workflows/create_stable_release.yml
vendored
@ -45,6 +45,9 @@ jobs:
|
||||
- name: Unzip world map
|
||||
run: |
|
||||
unzip world_map.zip -d sdcard/ADSB
|
||||
- name: Prepare Firmware ZIP
|
||||
run: |
|
||||
cp build/hackrf/firmware/hackrf_usb/hackrf_usb.dfu flashing/utils/hackrf_one_usb.dfu && cp build/hackrf/firmware/hackrf_usb/hackrf_usb.bin flashing/utils/hackrf_one_usb.bin
|
||||
- name: Create Firmware ZIP
|
||||
run: |
|
||||
zip -j firmware.zip build/firmware/portapack-mayhem-firmware.bin && cd flashing && zip -r ../firmware.zip *
|
||||
|
@ -69,6 +69,7 @@ add_subdirectory(hackrf/firmware)
|
||||
|
||||
set(HACKRF_FIRMWARE_DFU_FILENAME hackrf_usb.dfu)
|
||||
set(HACKRF_FIRMWARE_BIN_FILENAME hackrf_usb_ram.bin)
|
||||
set(HACKRF_FIRMWARE_FILENAME hackrf_usb.bin)
|
||||
set(HACKRF_CPLD_XSVF_FILENAME default.xsvf)
|
||||
|
||||
set(HACKRF_PATH ${CMAKE_CURRENT_LIST_DIR}/hackrf)
|
||||
|
@ -64,7 +64,7 @@ add_custom_command(
|
||||
|
||||
add_custom_target(
|
||||
firmware
|
||||
DEPENDS ${FIRMWARE_FILENAME} ${HACKRF_FIRMWARE_DFU_FILENAME}
|
||||
DEPENDS ${FIRMWARE_FILENAME} ${HACKRF_FIRMWARE_DFU_FILENAME} ${HACKRF_FIRMWARE_FILENAME}
|
||||
)
|
||||
|
||||
if(${GCC_VERSION_MISMATCH})
|
||||
|
Binary file not shown.
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user