summaryrefslogtreecommitdiff
path: root/tcl/target/aduc702x.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'tcl/target/aduc702x.cfg')
-rw-r--r--tcl/target/aduc702x.cfg3
1 files changed, 2 insertions, 1 deletions
diff --git a/tcl/target/aduc702x.cfg b/tcl/target/aduc702x.cfg
index b60c9679..58cc9b98 100644
--- a/tcl/target/aduc702x.cfg
+++ b/tcl/target/aduc702x.cfg
@@ -35,7 +35,8 @@ $_TARGETNAME configure -work-area-phys 0x10000 -work-area-size 0x2000
## flash configuration
# only target number is needed
-flash bank aduc702x 0 0 0 0 0
+set _FLASHNAME $_CHIPNAME.flash
+flash bank $_FLASHNAME aduc702x 0 0 0 0 0
## If you use the watchdog, the following code makes sure that the board
## doesn't reboot when halted via JTAG. Yes, on the older generation