Make systesetreq typos read sysresetreq instead
Signed-off-by: Peter Stuge <peter@stuge.se>
This commit is contained in:
parent
e7d26173fc
commit
f176278e98
|
@ -2127,7 +2127,7 @@ COMMAND_HANDLER(handle_cortex_m3_reset_config_command)
|
||||||
|
|
||||||
if (CMD_ARGC > 0)
|
if (CMD_ARGC > 0)
|
||||||
{
|
{
|
||||||
if (strcmp(*CMD_ARGV, "systesetreq") == 0)
|
if (strcmp(*CMD_ARGV, "sysresetreq") == 0)
|
||||||
cortex_m3->soft_reset_config = CORTEX_M3_RESET_SYSRESETREQ;
|
cortex_m3->soft_reset_config = CORTEX_M3_RESET_SYSRESETREQ;
|
||||||
else if (strcmp(*CMD_ARGV, "vectreset") == 0)
|
else if (strcmp(*CMD_ARGV, "vectreset") == 0)
|
||||||
cortex_m3->soft_reset_config = CORTEX_M3_RESET_VECTRESET;
|
cortex_m3->soft_reset_config = CORTEX_M3_RESET_VECTRESET;
|
||||||
|
|
|
@ -80,7 +80,7 @@ $_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 || $device_class == 3} {
|
||||||
# Sandstorm, Fury and DustDevil are able to use NVIC SYSRESETREQ
|
# Sandstorm, Fury and DustDevil are able to use NVIC SYSRESETREQ
|
||||||
cortex_m3 reset_config systesetreq
|
cortex_m3 reset_config sysresetreq
|
||||||
} else {
|
} else {
|
||||||
# Tempest and newer default to using NVIC VECTRESET
|
# Tempest and newer default to using NVIC VECTRESET
|
||||||
# this does mean a reset-init event handler is required to reset
|
# this does mean a reset-init event handler is required to reset
|
||||||
|
|
Loading…
Reference in New Issue