projects
/
fw
/
openocd
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
remove srst_pulls_trst from LPC2xxx target scripts
[fw/openocd]
/
tcl
/
target
/
at91sam3u4e.cfg
diff --git
a/tcl/target/at91sam3u4e.cfg
b/tcl/target/at91sam3u4e.cfg
index 9477ad0079a058a438d41ced1565810313285e89..6f6e0d873dd0bf8090379e3e804139249d2e5f74 100644
(file)
--- a/
tcl/target/at91sam3u4e.cfg
+++ b/
tcl/target/at91sam3u4e.cfg
@@
-1,9
+1,11
@@
# common stuff
# common stuff
-source [find target/at91sam3u
xx
.cfg]
+source [find target/at91sam3u
XX
.cfg]
# size is automatically "calculated" by probing
# size is automatically "calculated" by probing
-flash bank at91sam3 0x000080000 0 1 1 $_TARGETNAME
+set _FLASHNAME $_CHIPNAME.flash0
+flash bank $_FLASHNAME at91sam3 0x000080000 0 1 1 $_TARGETNAME
# This is a 256K chip - it has the 2nd bank
# This is a 256K chip - it has the 2nd bank
-flash bank at91sam3 0x000100000 0 1 1 $_TARGETNAME
+set _FLASHNAME $_CHIPNAME.flash1
+flash bank $_FLASHNAME at91sam3 0x000100000 0 1 1 $_TARGETNAME