mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2026-08-27 18:09:04 +00:00
Update HackRF flashing utilities for Windows (#3067)
* Update flasher for windows * Updated scripts * Fix echo statement formatting in flash script * Fix echo statement formatting in flash script
This commit is contained in:
@@ -72,7 +72,7 @@ jobs:
|
||||
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
|
||||
cp build/hackrf/firmware/hackrf_usb/hackrf_usb.dfu flashing/utils/hackrf_usb.dfu && cp build/hackrf/firmware/hackrf_usb/hackrf_usb.bin flashing/utils/hackrf_usb.bin
|
||||
- name: Create Firmware ZIP
|
||||
run: |
|
||||
zip -j firmware.zip build/firmware/portapack-mayhem-firmware.bin && cd flashing && zip -r ../firmware.zip *
|
||||
|
||||
@@ -55,7 +55,7 @@ jobs:
|
||||
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
|
||||
cp build/hackrf/firmware/hackrf_usb/hackrf_usb.dfu flashing/utils/hackrf_usb.dfu && cp build/hackrf/firmware/hackrf_usb/hackrf_usb.bin flashing/utils/hackrf_usb.bin
|
||||
- name: Create Firmware ZIP
|
||||
run: |
|
||||
zip -j firmware.zip build/firmware/portapack-mayhem-firmware.bin && cd flashing && zip -r ../firmware.zip *
|
||||
|
||||
@@ -14,6 +14,6 @@ echo.
|
||||
pause
|
||||
|
||||
echo.
|
||||
"utils/dfu-util-static.exe" --device 1fc9:000c --download "utils/hackrf_one_usb.dfu" --reset
|
||||
"utils/dfu-util-static.exe" --device 1fc9:000c --download "utils/hackrf_usb.dfu" --reset
|
||||
echo.
|
||||
pause
|
||||
@@ -21,12 +21,12 @@ if not exist portapack-mayhem-firmware.bin (
|
||||
exit /b
|
||||
)
|
||||
|
||||
"utils/hackrf_update.exe" portapack-mayhem-firmware.bin
|
||||
"utils/hackrf_spiflash.exe" -w portapack-mayhem-firmware.bin
|
||||
echo.
|
||||
echo If your device never boot after flashing, please refer to won't boot article"
|
||||
echo "If your device never boot after flashing, please refer to won't boot article"
|
||||
echo.
|
||||
echo "click-to-open url: https://github.com/portapack-mayhem/mayhem-firmware/wiki/Won%%27t-boot"
|
||||
echo "or
|
||||
echo "or"
|
||||
echo "copy-and-paste url: https://github.com/portapack-mayhem/mayhem-firmware/wiki/Won't-boot"
|
||||
echo.
|
||||
pause
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -10,6 +10,6 @@ echo.
|
||||
pause
|
||||
|
||||
echo.
|
||||
"utils/hackrf_update.exe" "utils/hackrf_one_usb.bin"
|
||||
"utils/hackrf_spiflash.exe" -w "utils/hackrf_usb.bin"
|
||||
echo.
|
||||
pause
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user