diff options
author | Paul Fertser <fercerpav@gmail.com> | 2015-01-10 13:19:26 +0300 |
---|---|---|
committer | Spencer Oliver <spen@spen-soft.co.uk> | 2015-01-26 20:54:51 +0000 |
commit | a1bbf4b75bc68aeed3c72e37b302bb36757401c2 (patch) | |
tree | 6a60ed0faa53c7aead5f62c4f6fe162b48d14df6 /tcl/target/kl25.cfg | |
parent | 7dd50909e32296fc4ceff64d8443f5b9fa75bbca (diff) | |
download | riscv-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/kl25.cfg')
-rw-r--r-- | tcl/target/kl25.cfg | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tcl/target/kl25.cfg b/tcl/target/kl25.cfg index 7b14ecc..b75e0a5 100644 --- a/tcl/target/kl25.cfg +++ b/tcl/target/kl25.cfg @@ -55,6 +55,8 @@ flash bank $_FLASHNAME kinetis 0 0 0 0 $_TARGETNAME # specifies up to 1MHz for VLPR mode. adapter_khz 1000 +reset_config srst_nogate + if {![using_hla]} { # if srst is not fitted use SYSRESETREQ to # perform a soft reset |