aboutsummaryrefslogtreecommitdiff
path: root/tcl/board/stm32f3discovery.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/board/stm32f3discovery.cfg
parent7dd50909e32296fc4ceff64d8443f5b9fa75bbca (diff)
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/board/stm32f3discovery.cfg')
-rw-r--r--tcl/board/stm32f3discovery.cfg3
1 files changed, 1 insertions, 2 deletions
diff --git a/tcl/board/stm32f3discovery.cfg b/tcl/board/stm32f3discovery.cfg
index 24a9261f..5a17b4c9 100644
--- a/tcl/board/stm32f3discovery.cfg
+++ b/tcl/board/stm32f3discovery.cfg
@@ -7,5 +7,4 @@ transport select hla_swd
source [find target/stm32f3x.cfg]
-# use hardware reset, connect under reset
-reset_config srst_only srst_nogate
+reset_config srst_only