summaryrefslogtreecommitdiff
path: root/tcl/target/lm3s9b9x.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'tcl/target/lm3s9b9x.cfg')
-rw-r--r--tcl/target/lm3s9b9x.cfg3
1 files changed, 2 insertions, 1 deletions
diff --git a/tcl/target/lm3s9b9x.cfg b/tcl/target/lm3s9b9x.cfg
index e822bb28..a727251f 100644
--- a/tcl/target/lm3s9b9x.cfg
+++ b/tcl/target/lm3s9b9x.cfg
@@ -29,4 +29,5 @@ target create $_TARGETNAME cortex_m3 -chain-position $_CHIPNAME.cpu -variant lm3
$_TARGETNAME configure -work-area-phys 0x20000000 -work-area-size 0x4000
#flash configuration
-flash bank stellaris 0 0 0 0 $_TARGETNAME
+set _FLASHNAME $_CHIPNAME.flash
+flash bank $_FLASHNAME stellaris 0 0 0 0 $_TARGETNAME