target: rename cortex_m3 to cortex_m
[fw/openocd] / tcl / target / stellaris.cfg
index 06f27c56807be3df913ec4638558ecd16d5dd46c..9804bde79172a6ce4e8c152dff5142fbb53a6c8e 100644 (file)
@@ -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