]> git.gag.com Git - fw/openocd/blobdiff - tcl/target/aduc702x.cfg
target.cfg: update to use new flash configuration syntax
[fw/openocd] / tcl / target / aduc702x.cfg
index 58cc9b9873034a502072870422a795abff1eb977..50b2a0de527d328140a07106e11e0e5f5a701961 100644 (file)
@@ -36,7 +36,7 @@ $_TARGETNAME configure -work-area-phys 0x10000 -work-area-size 0x2000
 ## flash configuration
 # only target number is needed
 set _FLASHNAME $_CHIPNAME.flash
-flash bank $_FLASHNAME aduc702x 0 0 0 0 0
+flash bank $_FLASHNAME aduc702x 0 0 0 0 $_TARGETNAME
 
 ## 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