mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2024-12-15 12:38:11 +00:00
faad4ea053
Addresses issue #27.
12 lines
426 B
Bash
Executable File
12 lines
426 B
Bash
Executable File
#!/bin/sh
|
|
|
|
printf "Hold down the HackRF's DFU button (the button closest to the antenna jack)\n"
|
|
printf "then plug the HackRF into a USB port on your computer.\n\n"
|
|
printf "After the HackRF is plugged in, you may release the DFU button.\n"
|
|
printf "Press any key to continue or ^c to abort\n"
|
|
read
|
|
|
|
dfu-util --device 1fc9:000c --download hackrf_one_usb_ram.dfu --reset
|
|
sleep 2s
|
|
hackrf_spiflash -w hackrf_one_usb_rom_to_ram.bin
|