Browse Source

cfg: add Blizzard class to stellaris.cfg

Change-Id: I2a1320c696b6d9b070e4a927c4cd4d68178af751
Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk>
Reviewed-on: http://openocd.zylin.com/150
Tested-by: jenkins
Reviewed-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
tags/v0.6.0-rc1
Spencer Oliver 12 years ago
committed by Andreas Fritiofson
parent
commit
07be858d2a
1 changed files with 4 additions and 3 deletions
  1. +4
    -3
      tcl/target/stellaris.cfg

+ 4
- 3
tcl/target/stellaris.cfg View File

@@ -153,11 +153,12 @@ $_TARGETNAME configure -event reset-start {
set device_class [expr (([mrw 0x400fe000] >> 16) & 0xff)]
}

if {$device_class == 0 || $device_class == 1 || $device_class == 3} {
# Sandstorm, Fury and DustDevil are able to use NVIC SYSRESETREQ
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
} else {
# Tempest and newer default to using NVIC VECTRESET
# Tempest and Firestorm default to using NVIC VECTRESET
# peripherals will need reseting manually, see proc reset_peripherals
cortex_m3 reset_config vectreset



Loading…
Cancel
Save