cfg: update for target's that support cortex_m AIRCR SYSRESETREQ
[fw/openocd] / tcl / target / k60.cfg
index d1247f31d4dae509fd67758df894ed1cfc7b0fda..a85fa909bf1240167e2d2756619e8ce3ecbb81d6 100644 (file)
@@ -33,3 +33,7 @@ target create $_TARGETNAME cortex_m3 -chain-position $_CHIPNAME.cpu
 
 $_CHIPNAME.cpu configure -event examine-start { puts "START..." ; }
 $_CHIPNAME.cpu configure -event examine-end { puts "END..." ; }
+
+# if srst is not fitted use SYSRESETREQ to
+# perform a soft reset
+cortex_m3 reset_config sysresetreq