summaryrefslogtreecommitdiff
path: root/tcl/target/sam7x256.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'tcl/target/sam7x256.cfg')
-rw-r--r--tcl/target/sam7x256.cfg2
1 files changed, 1 insertions, 1 deletions
diff --git a/tcl/target/sam7x256.cfg b/tcl/target/sam7x256.cfg
index 5bab6421..19145e5c 100644
--- a/tcl/target/sam7x256.cfg
+++ b/tcl/target/sam7x256.cfg
@@ -47,7 +47,7 @@ $_TARGETNAME configure -work-area-phys 0x00200000 -work-area-size 0x4000 -work-a
#flash bank <driver> <base_addr> <size> <chip_width> <bus_width> <target_number> [<target_name> <banks> <sectors_per_bank> <pages_per_sector> <page_size> <num_nvmbits> <ext_freq_khz>]
set _FLASHNAME $_CHIPNAME.flash
-flash bank $_FLASHNAME at91sam7 0 0 0 0 0 0 0 0 0 0 0 0 18432
+flash bank $_FLASHNAME at91sam7 0 0 0 0 $_TARGETNAME 0 0 0 0 0 0 0 18432
# For more information about the configuration files, take a look at:
# openocd.texi