projects
/
fw
/
openocd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
7b2687b
)
stm32: set default soft reset config
author
Spencer Oliver
<ntfreak@users.sourceforge.net>
Thu, 2 Dec 2010 13:12:48 +0000
(13:12 +0000)
committer
Spencer Oliver
<ntfreak@users.sourceforge.net>
Fri, 3 Dec 2010 09:02:10 +0000
(09:02 +0000)
If no srst is configured then default to using sysresetreq to
reset the target.
Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
tcl/target/stm32.cfg
patch
|
blob
|
history
diff --git
a/tcl/target/stm32.cfg
b/tcl/target/stm32.cfg
index fa59e351d57506445aa6e1cbc723068af8153ad1..86e6ebb89437559bea0edf8551046822a262492d 100644
(file)
--- a/
tcl/target/stm32.cfg
+++ b/
tcl/target/stm32.cfg
@@
-64,3
+64,7
@@
$_TARGETNAME configure -work-area-phys 0x20000000 -work-area-size $_WORKAREASIZE
set _FLASHNAME $_CHIPNAME.flash
flash bank $_FLASHNAME stm32x 0 0 0 0 $_TARGETNAME
+
+# if srst is not fitted use SYSRESETREQ to
+# perform a soft reset
+cortex_m3 reset_config sysresetreq