Allow transports to override the selected target (hla configs unification)
[fw/openocd] / tcl / target / k60.cfg
index 7ac8bb59b1f385d064d95667409d05087f3b6d57..a368e0b26dad73161ca6a8e24ab5e4a544ec02dc 100644 (file)
@@ -34,6 +34,8 @@ target create $_TARGETNAME cortex_m -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_m reset_config sysresetreq
+if {![using_hla]} {
+   # if srst is not fitted use SYSRESETREQ to
+   # perform a soft reset
+   cortex_m reset_config sysresetreq
+}