X-Git-Url: https://review.openocd.org/gitweb?a=blobdiff_plain;f=tcl%2Ftarget%2Fstm32f0x_stlink.cfg;h=cecfb7a78cb2524cf0368ed01fbea0104d06f89c;hb=18d6c0b02bf5e1318d5f5484b5ba68b476a418f0;hp=a9b200ed4aa9a3b78f20ad5ed2dd4d800c2597de;hpb=85c03753371ed20edc5c03f36a2d2e11730d2239;p=openocd.git diff --git a/tcl/target/stm32f0x_stlink.cfg b/tcl/target/stm32f0x_stlink.cfg index a9b200ed4a..cecfb7a78c 100644 --- a/tcl/target/stm32f0x_stlink.cfg +++ b/tcl/target/stm32f0x_stlink.cfg @@ -1,21 +1,2 @@ -# -# STM32f0x stlink pseudo target -# - -if { [info exists CHIPNAME] == 0 } { - set CHIPNAME stm32f0x -} - -if { [info exists CPUTAPID] == 0 } { - set CPUTAPID 0x0bb11477 -} - -if { [info exists WORKAREASIZE] == 0 } { - set WORKAREASIZE 0x1000 -} - -source [find target/stm32_stlink.cfg] - -# stm32f0x family uses stm32f1x driver -set _FLASHNAME $_CHIPNAME.flash -flash bank $_FLASHNAME stm32f1x 0 0 0 0 $_TARGETNAME +echo "WARNING: target/stm32f0x_stlink.cfg is deprecated, please switch to target/stm32f0x.cfg" +source [find target/stm32f0x.cfg]