Allow transports to override the selected target (hla configs unification)
[fw/openocd] / tcl / target / at91sam3XXX.cfg
index caadc5361cf96dc4359f33b384fc968229c5e66e..6af1f5cc2aac4c33e30c27616c3e514698254f7a 100644 (file)
@@ -80,6 +80,8 @@ if {[using_jtag]} {
    jtag_ntrst_delay 100
 }
 
-# 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
+}