X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=tcl%2Ftarget%2Fstm32f2x_stlink.cfg;h=451b2b5e2e625aae6421f2b6848bf3773f81a0dd;hb=2168c475ff7ca0f2914bee39700952600014ac40;hp=d46ae7c4a2c110bc356f72365690c240667e7fce;hpb=8002ed268d5936fbf024b09b60eecae00d058bc4;p=fw%2Fopenocd diff --git a/tcl/target/stm32f2x_stlink.cfg b/tcl/target/stm32f2x_stlink.cfg index d46ae7c4a..451b2b5e2 100644 --- a/tcl/target/stm32f2x_stlink.cfg +++ b/tcl/target/stm32f2x_stlink.cfg @@ -1,20 +1,2 @@ -# -# STM32f2x stlink pseudo target -# - -if { [info exists CHIPNAME] == 0 } { - set CHIPNAME stm32f2x -} - -if { [info exists CPUTAPID] == 0 } { - set CPUTAPID 0x2ba01477 -} - -if { [info exists WORKAREASIZE] == 0 } { - set WORKAREASIZE 0x10000 -} - -source [find target/stm32_stlink.cfg] - -set _FLASHNAME $_CHIPNAME.flash -flash bank $_FLASHNAME stm32f2x 0 0 0 0 $_TARGETNAME +echo "WARNING: target/stm32f2x_stlink.cfg is deprecated, please switch to target/stm32f2x.cfg" +source [find target/stm32f2x.cfg]