diff options
Diffstat (limited to 'src/flash/startup.tcl')
-rw-r--r-- | src/flash/startup.tcl | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/flash/startup.tcl b/src/flash/startup.tcl index 6cb7d8e8..5f40e649 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 +} + |