]> git.gag.com Git - fw/openocd/blobdiff - tcl/target/lpc17xx.cfg
Allow transports to override the selected target (hla configs unification)
[fw/openocd] / tcl / target / lpc17xx.cfg
index 266cecb61b666ab40684cc17655734bd4c98911a..0628336391314399b1ad04d91c034abfc345d0b7 100644 (file)
@@ -94,6 +94,8 @@ $_TARGETNAME configure -event reset-init {
        mww 0x400FC040 0x01
 }
 
-# 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
+}