projects
/
fw
/
openocd
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tcl: move SPDX tag as first line
[fw/openocd]
/
tcl
/
target
/
at91sam3u4c.cfg
diff --git
a/tcl/target/at91sam3u4c.cfg
b/tcl/target/at91sam3u4c.cfg
old mode 100755
(executable)
new mode 100644
(file)
index
e8fdaba
..
14af008
--- a/
tcl/target/at91sam3u4c.cfg
+++ b/
tcl/target/at91sam3u4c.cfg
@@
-2,8
+2,8
@@
source [find target/at91sam3uxx.cfg]
# size is automatically "calculated" by probing
source [find target/at91sam3uxx.cfg]
# 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