X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=src%2Fflash%2Fstartup.tcl;fp=src%2Fflash%2Fstartup.tcl;h=5f40e64912a2515bed7a43403b2c3f60dcf63be9;hp=6cb7d8e8a402f1c02e84e035da5344ec46869f2a;hb=852289bc4935ec8ac27242812fccb4806e304859;hpb=89f593d8cbd74eb1db5d6beb2e60e9844504db6e diff --git a/src/flash/startup.tcl b/src/flash/startup.tcl index 6cb7d8e8a4..5f40e64912 100644 --- a/src/flash/startup.tcl +++ b/src/flash/startup.tcl @@ -1,2 +1,13 @@ # Defines basic Tcl procs for OpenOCD flash module +# ease migration to updated flash driver +proc stm32x args { + echo "DEPRECATED! use 'stm32f1x $args' not 'stm32x $args'" + eval stm32f1x $args +} + +proc stm32f2xxx args { + echo "DEPRECATED! use 'stm32f2x $args' not 'stm32f2xxx $args'" + eval stm32f2x $args +} +