diff options
author | Spencer Oliver <spen@spen-soft.co.uk> | 2013-02-01 15:34:51 +0000 |
---|---|---|
committer | Freddie Chopin <freddie.chopin@gmail.com> | 2013-04-28 08:55:31 +0000 |
commit | b7d2cdc0d4fc319169c60362708a67e2ff626525 (patch) | |
tree | 1ad1b79b7ff26c47023d30fee6fc7e38266f1ecc /tcl/target/stellaris.cfg | |
parent | 564a5eb5375aa8117ee4fe48899f07490da8ae8a (diff) |
target: rename cortex_m3 to cortex_m
Rename cortex_m3 target to use a more correct cortex_m name.
This also adds a deprecated_name var so that older scripts issue a warning
to update the target name.
cfg files have also been updated to the new target name.
Change-Id: Ia8429f38e88da677249c5caa560c50f8ce56ea10
Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk>
Reviewed-on: http://openocd.zylin.com/1129
Tested-by: jenkins
Reviewed-by: Freddie Chopin <freddie.chopin@gmail.com>
Diffstat (limited to 'tcl/target/stellaris.cfg')
-rw-r--r-- | tcl/target/stellaris.cfg | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tcl/target/stellaris.cfg b/tcl/target/stellaris.cfg index 06f27c56..9804bde7 100644 --- a/tcl/target/stellaris.cfg +++ b/tcl/target/stellaris.cfg @@ -52,7 +52,7 @@ if { [info exists WORKAREASIZE] } { } set _TARGETNAME $_CHIPNAME.cpu -target create $_TARGETNAME cortex_m3 -chain-position $_CHIPNAME.cpu +target create $_TARGETNAME cortex_m -chain-position $_CHIPNAME.cpu # 8K working area at base of ram, not backed up # @@ -157,11 +157,11 @@ $_TARGETNAME configure -event reset-start { if {$device_class == 0 || $device_class == 1 || $device_class == 3 || $device_class == 5} { # Sandstorm, Fury, DustDevil and Blizzard are able to use NVIC SYSRESETREQ - cortex_m3 reset_config sysresetreq + cortex_m reset_config sysresetreq } else { # Tempest and Firestorm default to using NVIC VECTRESET # peripherals will need reseting manually, see proc reset_peripherals - cortex_m3 reset_config vectreset + cortex_m reset_config vectreset # reset peripherals, based on code in # http://www.ti.com/lit/er/spmz573a/spmz573a.pdf |