From f28209b290c581eab9858d051a455a2c5433d62f Mon Sep 17 00:00:00 2001 From: Alex Maestas Date: Sun, 31 Mar 2024 00:37:35 +0000 Subject: [PATCH] add an openocd.cfg for openocd 0.12.0 --- openocd.cfg | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 openocd.cfg 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