mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2024-12-25 06:13:14 +03:00
2fbf427e0a
* switch band * extract subghz api to files
18 lines
262 B
Bash
Executable File
18 lines
262 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -x -e
|
|
|
|
if [ "$#" -ne 1 ]; then
|
|
echo "OTP file required"
|
|
exit
|
|
fi
|
|
|
|
if [ ! -f $1 ]; then
|
|
echo "Unable to open OTP file"
|
|
exit
|
|
fi
|
|
|
|
STM32_Programmer_CLI -c port=usb1 -d $1 0x1FFF7000
|
|
|
|
STM32_Programmer_CLI -c port=usb1 -r8 0x1FFF7000 8
|