]> git.sur5r.net Git - openocd/blobdiff - tcl/target/at91sam3XXX.cfg
cfg: update for target's that support cortex_m AIRCR SYSRESETREQ
[openocd] / tcl / target / at91sam3XXX.cfg
index 63759e3f5a67d90888c2ea99ef215468801c775f..b90e3f0157c93fcbeb1d9b9e78452f7eba9e907d 100644 (file)
@@ -66,3 +66,7 @@ $_TARGETNAME configure -work-area-phys 0x20000000 -work-area-size 16384 -work-ar
 $_TARGETNAME configure -event gdb-flash-erase-start {
     halt
 }
+
+# if srst is not fitted use SYSRESETREQ to
+# perform a soft reset
+cortex_m3 reset_config sysresetreq