mirror of
https://github.com/firewalkwithm3/Sensor-Watch.git
synced 2024-11-22 03:01:51 +08:00
add an openocd.cfg for openocd 0.12.0
This commit is contained in:
parent
955ac94de3
commit
f28209b290
10
openocd.cfg
Normal file
10
openocd.cfg
Normal 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
|
Loading…
Reference in a new issue