projects
/
fw
/
openocd
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tcl: introduce using_(jtag|swd|hla) helpers and use them in reset handler
[fw/openocd]
/
tcl
/
target
/
stm32f2x.cfg
diff --git
a/tcl/target/stm32f2x.cfg
b/tcl/target/stm32f2x.cfg
index 5022ef7dbd18dbe1c64197a32e1f8ce34398256d..4e43f0a1a0ae8ec92ea2b8ad5384f2d39f73dd4d 100644
(file)
--- a/
tcl/target/stm32f2x.cfg
+++ b/
tcl/target/stm32f2x.cfg
@@
-34,7
+34,7
@@
if { [info exists WORKAREASIZE] } {
adapter_khz 1000
adapter_nsrst_delay 100
-if {
$using_jtag
} {
+if {
[using_jtag]
} {
jtag_ntrst_delay 100
}
@@
-58,7
+58,7
@@
if { [info exists BSTAPID] } {
set _BSTAPID 0x06411041
}
-if {
$using_jtag
} {
+if {
[using_jtag]
} {
jtag newtap $_CHIPNAME bs -irlen 5 -expected-id $_BSTAPID
}