mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-11-23 13:03:13 +00:00
3e281175da
* SubGhz: static code emulation view * SubGhz: add dumb static replay
17 lines
260 B
Bash
Executable file
17 lines
260 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=swd -d $1 0x1FFF7000
|
|
|
|
STM32_Programmer_CLI -c port=swd -r8 0x1FFF7000 8
|