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 | |
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')
-rw-r--r-- | tcl/board/st_nucleo_f0.cfg | 5 | ||||
-rw-r--r-- | tcl/board/st_nucleo_f103rb.cfg | 3 | ||||
-rw-r--r-- | tcl/board/st_nucleo_f334r8.cfg | 3 | ||||
-rw-r--r-- | tcl/board/st_nucleo_f4.cfg | 5 | ||||
-rw-r--r-- | tcl/board/stm320518_eval_stlink.cfg | 3 | ||||
-rw-r--r-- | tcl/board/stm3220g_eval_stlink.cfg | 3 | ||||
-rw-r--r-- | tcl/board/stm3241g_eval_stlink.cfg | 3 | ||||
-rw-r--r-- | tcl/board/stm32429i_eval_stlink.cfg | 3 | ||||
-rw-r--r-- | tcl/board/stm32439i_eval_stlink.cfg | 3 | ||||
-rw-r--r-- | tcl/board/stm32f0discovery.cfg | 3 | ||||
-rw-r--r-- | tcl/board/stm32f3discovery.cfg | 3 | ||||
-rw-r--r-- | tcl/board/stm32f429discovery.cfg | 3 | ||||
-rw-r--r-- | tcl/board/stm32f4discovery.cfg | 3 | ||||
-rw-r--r-- | tcl/board/stm32l0discovery.cfg | 3 | ||||
-rw-r--r-- | tcl/board/stm32ldiscovery.cfg | 3 | ||||
-rw-r--r-- | tcl/board/stm32vldiscovery.cfg | 1 |
16 files changed, 18 insertions, 32 deletions
diff --git a/tcl/board/st_nucleo_f0.cfg b/tcl/board/st_nucleo_f0.cfg index 0cd75b60..e9fda19a 100644 --- a/tcl/board/st_nucleo_f0.cfg +++ b/tcl/board/st_nucleo_f0.cfg @@ -1,4 +1,4 @@ -# This is for all ST NUCLEO with any STM32F0. Know Boards at the moment: +# This is for all ST NUCLEO with any STM32F0. Known boards at the moment: # STM32F030R8 # http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/LN1847/PF259997 # NUCLEO-F072RB @@ -12,5 +12,4 @@ transport select hla_swd source [find target/stm32f0x.cfg] -# use hardware reset, connect under reset -reset_config srst_only srst_nogate +reset_config srst_only diff --git a/tcl/board/st_nucleo_f103rb.cfg b/tcl/board/st_nucleo_f103rb.cfg index d5024cc6..71a92f70 100644 --- a/tcl/board/st_nucleo_f103rb.cfg +++ b/tcl/board/st_nucleo_f103rb.cfg @@ -7,5 +7,4 @@ transport select hla_swd source [find target/stm32f1x.cfg] -# use hardware reset, connect under reset -reset_config srst_only srst_nogate +reset_config srst_only diff --git a/tcl/board/st_nucleo_f334r8.cfg b/tcl/board/st_nucleo_f334r8.cfg index e0dfb689..9dffdcbb 100644 --- a/tcl/board/st_nucleo_f334r8.cfg +++ b/tcl/board/st_nucleo_f334r8.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 diff --git a/tcl/board/st_nucleo_f4.cfg b/tcl/board/st_nucleo_f4.cfg index 84b4b53f..b5a78c1c 100644 --- a/tcl/board/st_nucleo_f4.cfg +++ b/tcl/board/st_nucleo_f4.cfg @@ -1,4 +1,4 @@ -# This is for all ST NUCLEO with any STM32F. Know Boards at the moment: +# This is for all ST NUCLEO with any STM32F4. Known boards at the moment: # STM32F401RET6 # http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/LN1847/PF260000 # STM32F411RET6 @@ -10,5 +10,4 @@ transport select hla_swd source [find target/stm32f4x.cfg] -# use hardware reset, connect under reset -reset_config srst_only srst_nogate +reset_config srst_only diff --git a/tcl/board/stm320518_eval_stlink.cfg b/tcl/board/stm320518_eval_stlink.cfg index 0e2ac598..ce074cbf 100644 --- a/tcl/board/stm320518_eval_stlink.cfg +++ b/tcl/board/stm320518_eval_stlink.cfg @@ -16,5 +16,4 @@ set CHIPNAME STM32F051R8T6 source [find target/stm32f0x.cfg] -# use hardware reset, connect under reset -reset_config srst_only srst_nogate +reset_config srst_only diff --git a/tcl/board/stm3220g_eval_stlink.cfg b/tcl/board/stm3220g_eval_stlink.cfg index 55856cf0..43a4df98 100644 --- a/tcl/board/stm3220g_eval_stlink.cfg +++ b/tcl/board/stm3220g_eval_stlink.cfg @@ -16,5 +16,4 @@ set CHIPNAME STM32F207IGH6 source [find target/stm32f2x.cfg] -# use hardware reset, connect under reset -reset_config srst_only srst_nogate +reset_config srst_only 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 diff --git a/tcl/board/stm32429i_eval_stlink.cfg b/tcl/board/stm32429i_eval_stlink.cfg index 117409aa..2b51cea6 100644 --- a/tcl/board/stm32429i_eval_stlink.cfg +++ b/tcl/board/stm32429i_eval_stlink.cfg @@ -16,5 +16,4 @@ set CHIPNAME STM32F429NIH6 source [find target/stm32f4x.cfg] -# use hardware reset, connect under reset -reset_config srst_only srst_nogate +reset_config srst_only diff --git a/tcl/board/stm32439i_eval_stlink.cfg b/tcl/board/stm32439i_eval_stlink.cfg index efc47f7d..5995fb1d 100644 --- a/tcl/board/stm32439i_eval_stlink.cfg +++ b/tcl/board/stm32439i_eval_stlink.cfg @@ -16,5 +16,4 @@ set CHIPNAME STM32F439NIH6 source [find target/stm32f4x.cfg] -# use hardware reset, connect under reset -reset_config srst_only srst_nogate +reset_config srst_only diff --git a/tcl/board/stm32f0discovery.cfg b/tcl/board/stm32f0discovery.cfg index 66086cdd..bae9a69b 100644 --- a/tcl/board/stm32f0discovery.cfg +++ b/tcl/board/stm32f0discovery.cfg @@ -8,5 +8,4 @@ transport select hla_swd set WORKAREASIZE 0x2000 source [find target/stm32f0x.cfg] -# use hardware reset, connect under reset -reset_config srst_only srst_nogate +reset_config srst_only 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 diff --git a/tcl/board/stm32f429discovery.cfg b/tcl/board/stm32f429discovery.cfg index 220298ec..eddaa9f6 100644 --- a/tcl/board/stm32f429discovery.cfg +++ b/tcl/board/stm32f429discovery.cfg @@ -9,5 +9,4 @@ transport select hla_swd source [find target/stm32f4x.cfg] -# use hardware reset, connect under reset supported -reset_config srst_only srst_nogate +reset_config srst_only diff --git a/tcl/board/stm32f4discovery.cfg b/tcl/board/stm32f4discovery.cfg index 990ee328..f5b52920 100644 --- a/tcl/board/stm32f4discovery.cfg +++ b/tcl/board/stm32f4discovery.cfg @@ -7,5 +7,4 @@ transport select hla_swd source [find target/stm32f4x.cfg] -# use hardware reset, connect under reset -reset_config srst_only srst_nogate +reset_config srst_only diff --git a/tcl/board/stm32l0discovery.cfg b/tcl/board/stm32l0discovery.cfg index 57b8a600..a0350622 100644 --- a/tcl/board/stm32l0discovery.cfg +++ b/tcl/board/stm32l0discovery.cfg @@ -8,5 +8,4 @@ transport select hla_swd set WORKAREASIZE 0x2000 source [find target/stm32l0.cfg] -# use hardware reset, connect under reset -reset_config srst_only srst_nogate +reset_config srst_only diff --git a/tcl/board/stm32ldiscovery.cfg b/tcl/board/stm32ldiscovery.cfg index b31a663a..8678d290 100644 --- a/tcl/board/stm32ldiscovery.cfg +++ b/tcl/board/stm32ldiscovery.cfg @@ -8,5 +8,4 @@ transport select hla_swd set WORKAREASIZE 0x4000 source [find target/stm32l1.cfg] -# use hardware reset, connect under reset -reset_config srst_only srst_nogate +reset_config srst_only diff --git a/tcl/board/stm32vldiscovery.cfg b/tcl/board/stm32vldiscovery.cfg index 19b42aef..970b5101 100644 --- a/tcl/board/stm32vldiscovery.cfg +++ b/tcl/board/stm32vldiscovery.cfg @@ -8,3 +8,4 @@ transport select hla_swd set WORKAREASIZE 0x2000 source [find target/stm32f1x.cfg] +reset_config srst_only |