]> git.sur5r.net Git - openocd/blobdiff - src/target/startup.tcl
target: rename cortex_m3 to cortex_m
[openocd] / src / target / startup.tcl
index 90f947dfd7e344024f8611735364a854fe85d60a..0c72cc71b1e76399c267ec6190053cc0849fc436 100644 (file)
@@ -167,3 +167,9 @@ proc init_targets {} {
 # Additionally board config scripts can define a procedure init_board that will be executed after init and init_targets
 proc init_board {} {
 }
+
+# deprecated target name cmds
+proc cortex_m3 args {
+       echo "DEPRECATED! use 'cortex_m' not 'cortex_m3'"
+       eval cortex_m $args
+}