aboutsummaryrefslogtreecommitdiff
path: root/tcl/target
diff options
context:
space:
mode:
authorSpencer Oliver <ntfreak@users.sourceforge.net>2011-07-28 11:45:09 +0100
committerSpencer Oliver <ntfreak@users.sourceforge.net>2011-07-28 11:45:09 +0100
commit89f593d8cbd74eb1db5d6beb2e60e9844504db6e (patch)
treebe27e572157f75ee6bf8361bebabf9e393ddf7a9 /tcl/target
parentc73342fbe77b0d0432ce189566e0e8383f2b7493 (diff)
cfg: update scripts to use new stm32 driver names
Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
Diffstat (limited to 'tcl/target')
-rw-r--r--tcl/target/stm32f1x.cfg (renamed from tcl/target/stm32.cfg)2
-rw-r--r--tcl/target/stm32f2x.cfg (renamed from tcl/target/stm32f2xxx.cfg)2
-rw-r--r--tcl/target/stm32xl.cfg4
3 files changed, 4 insertions, 4 deletions
diff --git a/tcl/target/stm32.cfg b/tcl/target/stm32f1x.cfg
index 9879c045..8007ff57 100644
--- a/tcl/target/stm32.cfg
+++ b/tcl/target/stm32f1x.cfg
@@ -68,7 +68,7 @@ $_TARGETNAME configure -work-area-phys 0x20000000 -work-area-size $_WORKAREASIZE
# flash size will be probed
set _FLASHNAME $_CHIPNAME.flash
-flash bank $_FLASHNAME stm32x 0x08000000 0 0 0 $_TARGETNAME
+flash bank $_FLASHNAME stm32f1x 0x08000000 0 0 0 $_TARGETNAME
# if srst is not fitted use SYSRESETREQ to
# perform a soft reset
diff --git a/tcl/target/stm32f2xxx.cfg b/tcl/target/stm32f2x.cfg
index 8a857244..b8de3843 100644
--- a/tcl/target/stm32f2xxx.cfg
+++ b/tcl/target/stm32f2x.cfg
@@ -57,5 +57,5 @@ target create $_TARGETNAME cortex_m3 -endian $_ENDIAN -chain-position $_TARGETNA
$_TARGETNAME configure -work-area-phys 0x20000000 -work-area-size $_WORKAREASIZE -work-area-backup 0
set _FLASHNAME $_CHIPNAME.flash
-flash bank $_FLASHNAME stm32f2xxx 0 0 0 0 $_TARGETNAME
+flash bank $_FLASHNAME stm32f2x 0 0 0 0 $_TARGETNAME
diff --git a/tcl/target/stm32xl.cfg b/tcl/target/stm32xl.cfg
index cde07df2..f72896d3 100644
--- a/tcl/target/stm32xl.cfg
+++ b/tcl/target/stm32xl.cfg
@@ -1,6 +1,6 @@
# script for stm32xl family (dual flash bank)
-source [find target/stm32.cfg]
+source [find target/stm32f1x.cfg]
# flash size will be probed
set _FLASHNAME $_CHIPNAME.flash1
-flash bank $_FLASHNAME stm32x 0x08080000 0 0 0 $_TARGETNAME
+flash bank $_FLASHNAME stm32f1x 0x08080000 0 0 0 $_TARGETNAME