From: Spencer Oliver Date: Tue, 1 Nov 2011 21:12:58 +0000 (+0000) Subject: cfg: add Blizzard class to stellaris.cfg X-Git-Tag: v0.6.0-rc1~474 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=07be858d2aeed2e9cafc736d790ce15ed57fa692;p=openocd cfg: add Blizzard class to stellaris.cfg Change-Id: I2a1320c696b6d9b070e4a927c4cd4d68178af751 Signed-off-by: Spencer Oliver Reviewed-on: http://openocd.zylin.com/150 Tested-by: jenkins Reviewed-by: Andreas Fritiofson --- diff --git a/tcl/target/stellaris.cfg b/tcl/target/stellaris.cfg index 7fef4ec2..3ab5c0b9 100644 --- a/tcl/target/stellaris.cfg +++ b/tcl/target/stellaris.cfg @@ -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