aboutsummaryrefslogtreecommitdiff
path: root/tcl/target/k40.cfg
diff options
context:
space:
mode:
authorPaul Fertser <fercerpav@gmail.com>2015-01-10 13:19:26 +0300
committerSpencer Oliver <spen@spen-soft.co.uk>2015-01-26 20:54:51 +0000
commita1bbf4b75bc68aeed3c72e37b302bb36757401c2 (patch)
tree6a60ed0faa53c7aead5f62c4f6fe162b48d14df6 /tcl/target/k40.cfg
parent7dd50909e32296fc4ceff64d8443f5b9fa75bbca (diff)
downloadriscv-openocd-a1bbf4b75bc68aeed3c72e37b302bb36757401c2.zip
riscv-openocd-a1bbf4b75bc68aeed3c72e37b302bb36757401c2.tar.gz
riscv-openocd-a1bbf4b75bc68aeed3c72e37b302bb36757401c2.tar.bz2
cfg: add srst_nogate to the supported targets, remove from board configs
It depends on the particular target whether it can work with SRST asserted or not, so this belongs to the target config rather than the board config. Also, this allows for simple openocd -f myboard.cfg -c "reset_config connect_assert_srst" command to be used whenever a user feels a need to connect to an unresponsive target. Change-Id: I3d8da9ae47088fc0c75a20bfdd20074be1014de0 Signed-off-by: Paul Fertser <fercerpav@gmail.com> Reviewed-on: http://openocd.zylin.com/2459 Tested-by: jenkins Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
Diffstat (limited to 'tcl/target/k40.cfg')
-rw-r--r--tcl/target/k40.cfg3
1 files changed, 1 insertions, 2 deletions
diff --git a/tcl/target/k40.cfg b/tcl/target/k40.cfg
index a139dcd..b0f6994 100644
--- a/tcl/target/k40.cfg
+++ b/tcl/target/k40.cfg
@@ -31,8 +31,7 @@ swj_newdap $_CHIPNAME cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id $_CPU
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..." ; }
+reset_config srst_nogate
if {![using_hla]} {
# if srst is not fitted use SYSRESETREQ to