X-Git-Url: https://review.openocd.org/gitweb?a=blobdiff_plain;f=tcl%2Ftarget%2Fstm32f4x_stlink.cfg;h=af3e8a098cd372429df15bfb5c7178f6a460e5b5;hb=5396ec5dcc64354c8101f8d3f16d498ca3b10326;hp=2308c51c40aac12253fe510a71ba365c33eb8138;hpb=8002ed268d5936fbf024b09b60eecae00d058bc4;p=openocd.git diff --git a/tcl/target/stm32f4x_stlink.cfg b/tcl/target/stm32f4x_stlink.cfg index 2308c51c40..af3e8a098c 100644 --- a/tcl/target/stm32f4x_stlink.cfg +++ b/tcl/target/stm32f4x_stlink.cfg @@ -1,21 +1,2 @@ -# -# STM32f4x stlink pseudo target -# - -if { [info exists CHIPNAME] == 0 } { - set CHIPNAME stm32f4x -} - -if { [info exists CPUTAPID] == 0 } { - set CPUTAPID 0x2ba01477 -} - -if { [info exists WORKAREASIZE] == 0 } { - set WORKAREASIZE 0x10000 -} - -source [find target/stm32_stlink.cfg] - -# stm32f4x family uses stm32f2x driver -set _FLASHNAME $_CHIPNAME.flash -flash bank $_FLASHNAME stm32f2x 0 0 0 0 $_TARGETNAME +echo "WARNING: target/stm32f4x_stlink.cfg is deprecated, please switch to target/stm32f4x.cfg" +source [find target/stm32f4x.cfg]