Skip to content

Commit

Permalink
Merge pull request #389 from joeycastillo/theAlexes/add-openocd
Browse files Browse the repository at this point in the history
add an openocd.cfg for openocd 0.12.0
  • Loading branch information
theAlexes authored Apr 9, 2024
2 parents d2b5ed7 + f28209b commit 45beca1
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions openocd.cfg
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 45beca1

Please sign in to comment.