add an openocd.cfg for openocd 0.12.0

This commit is contained in:
Alex Maestas 2024-03-31 00:37:35 +00:00
parent 955ac94de3
commit f28209b290

10
openocd.cfg Normal file
View file

@ -0,0 +1,10 @@
adapter driver cmsis-dap
adapter speed 5000
transport select swd
swd newdap SAML22 cpu -irlen 4
dap create SAML22.dap -chain-position SAML22.cpu
set _TARGETNAME SAML22.cpu
target create $_TARGETNAME cortex_m -dap SAML22.dap
cortex_m reset_config sysresetreq