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
/
stm32l.cfg
diff --git
a/tcl/target/stm32l.cfg
b/tcl/target/stm32l.cfg
index f9f7425b9a7bb9925a21b9921710e908220b176e..5d6a53e0b95cdcc8283425c1e219ec8c87763974 100644
(file)
--- a/
tcl/target/stm32l.cfg
+++ b/
tcl/target/stm32l.cfg
@@
-30,7
+30,7
@@
if { [info exists WORKAREASIZE] } {
adapter_khz 100
adapter_nsrst_delay 100
-if {
$using_jtag
} {
+if {
[using_jtag]
} {
jtag_ntrst_delay 100
}
@@
-54,7
+54,7
@@
if { [info exists BSTAPID] } {
set _BSTAPID 0x06416041
}
-if {
$using_jtag
} {
+if {
[using_jtag]
} {
jtag newtap $_CHIPNAME bs -irlen 5 -expected-id $_BSTAPID
}