X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=tcl%2Ftarget%2Fstm32f2x.cfg;h=4e43f0a1a0ae8ec92ea2b8ad5384f2d39f73dd4d;hp=5022ef7dbd18dbe1c64197a32e1f8ce34398256d;hb=f8a6a07149d88737f3d466e7ce620cc1f0874c6a;hpb=36772a7ed0c31a99c721d1ea9131a8ecc56a263d diff --git a/tcl/target/stm32f2x.cfg b/tcl/target/stm32f2x.cfg index 5022ef7dbd..4e43f0a1a0 100644 --- 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 }