Merge pull request #389 from joeycastillo/theAlexes/add-openocd

add an openocd.cfg for openocd 0.12.0
This commit is contained in:
atax1a 2024-04-09 22:23:21 +00:00 committed by GitHub
commit 45beca19e8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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