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/board/stm3241g_eval_stlink.cfg | |
parent | 7dd50909e32296fc4ceff64d8443f5b9fa75bbca (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/stm3241g_eval_stlink.cfg')
-rw-r--r-- | tcl/board/stm3241g_eval_stlink.cfg | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tcl/board/stm3241g_eval_stlink.cfg b/tcl/board/stm3241g_eval_stlink.cfg index 72b2d32c..9c7ad5d9 100644 --- a/tcl/board/stm3241g_eval_stlink.cfg +++ b/tcl/board/stm3241g_eval_stlink.cfg @@ -16,5 +16,4 @@ set CHIPNAME STM32F417IGH6 source [find target/stm32f4x.cfg] -# use hardware reset, connect under reset -reset_config srst_only srst_nogate +reset_config srst_only |