projects
/
fw
/
openocd
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
cfg: update for target's that support cortex_m AIRCR SYSRESETREQ
[fw/openocd]
/
tcl
/
target
/
k40.cfg
diff --git
a/tcl/target/k40.cfg
b/tcl/target/k40.cfg
index 26b952b9952a3aa3c49e7680c3918dd96cca2a95..57aa849201dc5d0c236f9ed703e4079312fe1552 100644
(file)
--- a/
tcl/target/k40.cfg
+++ b/
tcl/target/k40.cfg
@@
-33,3
+33,7
@@
target create $_TARGETNAME cortex_m3 -chain-position $_CHIPNAME.cpu
$_CHIPNAME.cpu configure -event examine-start { puts "START..." ; }
$_CHIPNAME.cpu configure -event examine-end { puts "END..." ; }
+
+# if srst is not fitted use SYSRESETREQ to
+# perform a soft reset
+cortex_m3 reset_config sysresetreq