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:
parent
8a35e114c0
commit
cca2d70808
3
dist/tools/openocd/adapters/stlink-dap.cfg
vendored
Normal file
3
dist/tools/openocd/adapters/stlink-dap.cfg
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
try {
|
||||
source [find interface/stlink-dap.cfg]
|
||||
}
|
5
makefiles/tools/openocd-adapters/stlink-dap.inc.mk
Normal file
5
makefiles/tools/openocd-adapters/stlink-dap.inc.mk
Normal 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
|
Loading…
Reference in New Issue
Block a user