projects
/
fw
/
openocd
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
update 'flash bank' usage in scripts
[fw/openocd]
/
tcl
/
target
/
lm3s3748.cfg
diff --git
a/tcl/target/lm3s3748.cfg
b/tcl/target/lm3s3748.cfg
index 5317a6d9b9e0aa108ed0f8b4d3aa4a260586b0ae..274377a7e89afaf899f67068d8c5764338620d46 100644
(file)
--- a/
tcl/target/lm3s3748.cfg
+++ b/
tcl/target/lm3s3748.cfg
@@
-25,4
+25,5
@@
target create $_TARGETNAME cortex_m3 -chain-position $_CHIPNAME.cpu -variant lm3
$_TARGETNAME configure -work-area-phys 0x20000000 -work-area-size 0x2000
# flash configuration -- one bank of 128K
-flash bank stellaris 0 0 0 0 $_TARGETNAME
+set _FLASHNAME $_CHIPNAME.flash
+flash bank $_FLASHNAME stellaris 0 0 0 0 $_TARGETNAME