support for raspberry pi
This commit is contained in:
parent
f47de1ddcc
commit
4f8041cf5d
|
@ -0,0 +1,2 @@
|
||||||
|
source [find openocd/interface_rpi.cfg]
|
||||||
|
source [find openocd/flash.cfg]
|
|
@ -0,0 +1,5 @@
|
||||||
|
source [find interface/sysfsgpio-raspberrypi.cfg]
|
||||||
|
source [find openocd/rpi.cfg]
|
||||||
|
transport select swd
|
||||||
|
source [find target/stm32h7x.cfg]
|
||||||
|
reset_config none
|
|
@ -0,0 +1,2 @@
|
||||||
|
sysfsgpio_swd_nums 25 24
|
||||||
|
sysfsgpio_srst_num 23
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
source config.sh $1
|
source config.sh $1
|
||||||
|
|
||||||
echo "This will look your device! Are you sure? (Y/y)"
|
echo "This will lock your device! Are you sure? (Y/y)"
|
||||||
read -n 1 -r
|
read -n 1 -r
|
||||||
if [[ ! $REPLY =~ ^[Yy]$ ]]
|
if [[ ! $REPLY =~ ^[Yy]$ ]]
|
||||||
then
|
then
|
||||||
|
|
Loading…
Reference in New Issue