scripts: sample OpenOCD Linux scripts
This commit is contained in:
parent
b040fb3133
commit
4a581981f1
|
@ -0,0 +1,6 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Please use https://github.com/dron0gus/openocd/tree/artery-dev OpenOCD for Artery chips support
|
||||
# Plase run this script from firmware directory
|
||||
|
||||
openocd -f interface/jlink.cfg -c 'transport select swd' -f ChibiOS/demos/STM32/RT-AT32F435-ARTERY144/at32f4x.cfg -c '$_TARGETNAME configure -rtos auto' $*
|
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
|
||||
openocd -f interface/jlink.cfg -c 'transport select swd' -f target/stm32f4x.cfg -c '$_TARGETNAME configure -rtos auto' $*
|
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
|
||||
openocd -f interface/jlink.cfg -c 'transport select swd' -f target/stm32f7x.cfg -c '$_TARGETNAME configure -rtos auto' $*
|
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
|
||||
openocd -f interface/stlink.cfg -f target/stm32f4x.cfg -c '$_TARGETNAME configure -rtos auto' $*
|
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
|
||||
openocd -f interface/stlink.cfg -f target/stm32f7x.cfg -c '$_TARGETNAME configure -rtos auto' $*
|
Loading…
Reference in New Issue