summaryrefslogtreecommitdiff
path: root/tcl/target/at91sam3u1c.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'tcl/target/at91sam3u1c.cfg')
-rw-r--r--tcl/target/at91sam3u1c.cfg3
1 files changed, 2 insertions, 1 deletions
diff --git a/tcl/target/at91sam3u1c.cfg b/tcl/target/at91sam3u1c.cfg
index d338f305..47c227b2 100644
--- a/tcl/target/at91sam3u1c.cfg
+++ b/tcl/target/at91sam3u1c.cfg
@@ -2,6 +2,7 @@
source [find target/at91sam3uxx.cfg]
# size is automatically "calculated" by probing
-flash bank at91sam3 0x000080000 0 1 1 $_TARGETNAME
+set _FLASHNAME $_CHIPNAME.flash
+flash bank $_FLASHNAME at91sam3 0x000080000 0 1 1 $_TARGETNAME