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

boards/saml1x: add openocd.cfg

Previously trying `make debug` on these boards would result in

    Error: Unable to locate OpenOCD configuration file
           (/home/benpicco/dev/RIOT/boards/saml10-xpro/dist/openocd.cfg)

Add a common `openocd.cfg` to fix this.
This commit is contained in:
Benjamin Valentin 2020-08-21 11:31:04 +02:00
parent 6bf6b6be6c
commit a272a879b7
2 changed files with 4 additions and 0 deletions

View File

@ -1,3 +1,5 @@
OPENOCD_CONFIG ?= $(RIOTBOARD)/common/saml1x/dist/openocd.cfg
include $(RIOTMAKE)/boards/sam0.inc.mk
# add the common header files to the include path

2
boards/common/saml1x/dist/openocd.cfg vendored Normal file
View File

@ -0,0 +1,2 @@
source [find target/atsaml1x.cfg]
$_TARGETNAME configure -rtos auto