From 89f593d8cbd74eb1db5d6beb2e60e9844504db6e Mon Sep 17 00:00:00 2001 From: Spencer Oliver Date: Thu, 28 Jul 2011 11:45:09 +0100 Subject: [PATCH] cfg: update scripts to use new stm32 driver names Signed-off-by: Spencer Oliver --- tcl/board/hitex_stm32-performancestick.cfg | 2 +- tcl/board/olimex_stm32_h103.cfg | 2 +- tcl/board/olimex_stm32_h107.cfg | 2 +- tcl/board/stm32100b_eval.cfg | 2 +- tcl/board/stm3210b_eval.cfg | 2 +- tcl/board/stm3210c_eval.cfg | 2 +- tcl/board/stm3210e_eval.cfg | 2 +- tcl/board/stm3220g_eval.cfg | 2 +- tcl/target/{stm32.cfg => stm32f1x.cfg} | 2 +- tcl/target/{stm32f2xxx.cfg => stm32f2x.cfg} | 2 +- tcl/target/stm32xl.cfg | 4 ++-- 11 files changed, 12 insertions(+), 12 deletions(-) rename tcl/target/{stm32.cfg => stm32f1x.cfg} (96%) rename tcl/target/{stm32f2xxx.cfg => stm32f2x.cfg} (96%) diff --git a/tcl/board/hitex_stm32-performancestick.cfg b/tcl/board/hitex_stm32-performancestick.cfg index 515f7e080..0ec4076b7 100644 --- a/tcl/board/hitex_stm32-performancestick.cfg +++ b/tcl/board/hitex_stm32-performancestick.cfg @@ -5,7 +5,7 @@ reset_config trst_and_srst source [find interface/stm32-stick.cfg] set CHIPNAME stm32_hitex -source [find target/stm32.cfg] +source [find target/stm32f1x.cfg] # configure str750 connected to jtag chain # FIXME -- source [find target/str750.cfg] after cleaning that up diff --git a/tcl/board/olimex_stm32_h103.cfg b/tcl/board/olimex_stm32_h103.cfg index 98b0b658d..ec03034c1 100644 --- a/tcl/board/olimex_stm32_h103.cfg +++ b/tcl/board/olimex_stm32_h103.cfg @@ -4,4 +4,4 @@ # Work-area size (RAM size) = 20kB for STM32F103RB device set WORKAREASIZE 0x5000 -source [find target/stm32.cfg] +source [find target/stm32f1x.cfg] diff --git a/tcl/board/olimex_stm32_h107.cfg b/tcl/board/olimex_stm32_h107.cfg index c21e19bde..1d34a234f 100644 --- a/tcl/board/olimex_stm32_h107.cfg +++ b/tcl/board/olimex_stm32_h107.cfg @@ -5,4 +5,4 @@ # Work-area size (RAM size) = 64kB for STM32F107VC device set WORKAREASIZE 0x10000 -source [find target/stm32.cfg] +source [find target/stm32f1x.cfg] diff --git a/tcl/board/stm32100b_eval.cfg b/tcl/board/stm32100b_eval.cfg index e04b612bc..41153e555 100644 --- a/tcl/board/stm32100b_eval.cfg +++ b/tcl/board/stm32100b_eval.cfg @@ -4,4 +4,4 @@ # The chip has only 8KB sram set WORKAREASIZE 0x2000 -source [find target/stm32.cfg] +source [find target/stm32f1x.cfg] diff --git a/tcl/board/stm3210b_eval.cfg b/tcl/board/stm3210b_eval.cfg index 70798c186..ff3f7771a 100644 --- a/tcl/board/stm3210b_eval.cfg +++ b/tcl/board/stm3210b_eval.cfg @@ -4,4 +4,4 @@ # increase working area to 32KB for faster flash programming set WORKAREASIZE 0x8000 -source [find target/stm32.cfg] +source [find target/stm32f1x.cfg] diff --git a/tcl/board/stm3210c_eval.cfg b/tcl/board/stm3210c_eval.cfg index 27684f0d8..e069c0499 100644 --- a/tcl/board/stm3210c_eval.cfg +++ b/tcl/board/stm3210c_eval.cfg @@ -4,4 +4,4 @@ # increase working area to 32KB for faster flash programming set WORKAREASIZE 0x8000 -source [find target/stm32.cfg] +source [find target/stm32f1x.cfg] diff --git a/tcl/board/stm3210e_eval.cfg b/tcl/board/stm3210e_eval.cfg index 786d02799..91807ce30 100644 --- a/tcl/board/stm3210e_eval.cfg +++ b/tcl/board/stm3210e_eval.cfg @@ -4,7 +4,7 @@ # increase working area to 32KB for faster flash programming set WORKAREASIZE 0x8000 -source [find target/stm32.cfg] +source [find target/stm32f1x.cfg] # # configure FSMC Bank 1 (NOR/PSRAM Bank 2) NOR flash diff --git a/tcl/board/stm3220g_eval.cfg b/tcl/board/stm3220g_eval.cfg index e836f0ed7..48b57c132 100644 --- a/tcl/board/stm3220g_eval.cfg +++ b/tcl/board/stm3220g_eval.cfg @@ -8,4 +8,4 @@ set WORKAREASIZE 0x20000 # chip name set CHIPNAME STM32F207IGT6 -source [find target/stm32f2xxx.cfg] +source [find target/stm32f2x.cfg] diff --git a/tcl/target/stm32.cfg b/tcl/target/stm32f1x.cfg similarity index 96% rename from tcl/target/stm32.cfg rename to tcl/target/stm32f1x.cfg index 9879c0458..8007ff57a 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 similarity index 96% rename from tcl/target/stm32f2xxx.cfg rename to tcl/target/stm32f2x.cfg index 8a8572440..b8de38437 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 cde07df24..f72896d32 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