aboutsummaryrefslogtreecommitdiff
path: root/tcl/target/lpc17xx.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'tcl/target/lpc17xx.cfg')
-rw-r--r--tcl/target/lpc17xx.cfg8
1 files changed, 5 insertions, 3 deletions
diff --git a/tcl/target/lpc17xx.cfg b/tcl/target/lpc17xx.cfg
index 266cecb6..06283363 100644
--- a/tcl/target/lpc17xx.cfg
+++ b/tcl/target/lpc17xx.cfg
@@ -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
+}