scripts: sample OpenOCD Linux scripts

This commit is contained in:
Andrey Gusakov 2024-09-23 12:24:33 +03:00 committed by rusefillc
parent b040fb3133
commit 4a581981f1
5 changed files with 18 additions and 0 deletions

View File

@ -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' $*

View File

@ -0,0 +1,3 @@
#!/bin/sh
openocd -f interface/jlink.cfg -c 'transport select swd' -f target/stm32f4x.cfg -c '$_TARGETNAME configure -rtos auto' $*

View File

@ -0,0 +1,3 @@
#!/bin/sh
openocd -f interface/jlink.cfg -c 'transport select swd' -f target/stm32f7x.cfg -c '$_TARGETNAME configure -rtos auto' $*

View File

@ -0,0 +1,3 @@
#!/bin/sh
openocd -f interface/stlink.cfg -f target/stm32f4x.cfg -c '$_TARGETNAME configure -rtos auto' $*

View File

@ -0,0 +1,3 @@
#!/bin/sh
openocd -f interface/stlink.cfg -f target/stm32f7x.cfg -c '$_TARGETNAME configure -rtos auto' $*