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:
parent
6bf6b6be6c
commit
a272a879b7
@ -1,3 +1,5 @@
|
|||||||
|
OPENOCD_CONFIG ?= $(RIOTBOARD)/common/saml1x/dist/openocd.cfg
|
||||||
|
|
||||||
include $(RIOTMAKE)/boards/sam0.inc.mk
|
include $(RIOTMAKE)/boards/sam0.inc.mk
|
||||||
|
|
||||||
# add the common header files to the include path
|
# add the common header files to the include path
|
||||||
|
|||||||
2
boards/common/saml1x/dist/openocd.cfg
vendored
Normal file
2
boards/common/saml1x/dist/openocd.cfg
vendored
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
source [find target/atsaml1x.cfg]
|
||||||
|
$_TARGETNAME configure -rtos auto
|
||||||
Loading…
x
Reference in New Issue
Block a user