diff --git a/openocd.cfg b/openocd.cfg new file mode 100644 index 0000000..427bbc6 --- /dev/null +++ b/openocd.cfg @@ -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