X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=tcl%2Ftarget%2Flpc17xx.cfg;h=0628336391314399b1ad04d91c034abfc345d0b7;hp=266cecb61b666ab40684cc17655734bd4c98911a;hb=c7384117c66e8f18896ca09ab8095d6da16bb1e5;hpb=f701c0cbeb346df4cda378d3b4d5136aabba3b37 diff --git a/tcl/target/lpc17xx.cfg b/tcl/target/lpc17xx.cfg index 266cecb61b..0628336391 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 +}