1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

tools/openocd: add stlink-dap adapter

stlink-dap adapter is based on stlink-dap.cfg and is used by
STM32MP1 family.

Signed-off-by: Gilles DOFFE <gilles.doffe@savoirfairelinux.com>
This commit is contained in:
Gilles DOFFE 2020-11-11 00:57:32 +01:00
parent 8a35e114c0
commit cca2d70808
2 changed files with 8 additions and 0 deletions

View File

@ -0,0 +1,3 @@
try {
source [find interface/stlink-dap.cfg]
}

View File

@ -0,0 +1,5 @@
OPENOCD_ADAPTER_INIT ?= -c 'set stlink_version $(STLINK_VERSION);source $(RIOTBASE)/dist/tools/openocd/adapters/stlink-dap.cfg'
OPENOCD_TRANSPORT ?= dapdirect_swd
include $(RIOTMAKE)/tools/openocd-adapters/stlink.inc.mk