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>
This commit is contained in:
parent
444f202360
commit
07be858d2a
|
@ -153,11 +153,12 @@ $_TARGETNAME configure -event reset-start {
|
||||||
set device_class [expr (([mrw 0x400fe000] >> 16) & 0xff)]
|
set device_class [expr (([mrw 0x400fe000] >> 16) & 0xff)]
|
||||||
}
|
}
|
||||||
|
|
||||||
if {$device_class == 0 || $device_class == 1 || $device_class == 3} {
|
if {$device_class == 0 || $device_class == 1 ||
|
||||||
# Sandstorm, Fury and DustDevil are able to use NVIC SYSRESETREQ
|
$device_class == 3 || $device_class == 5} {
|
||||||
|
# Sandstorm, Fury, DustDevil and Blizzard are able to use NVIC SYSRESETREQ
|
||||||
cortex_m3 reset_config sysresetreq
|
cortex_m3 reset_config sysresetreq
|
||||||
} else {
|
} 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
|
# peripherals will need reseting manually, see proc reset_peripherals
|
||||||
cortex_m3 reset_config vectreset
|
cortex_m3 reset_config vectreset
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue