Skip to content
Snippets Groups Projects
Commit 89f593d8 authored by Spencer Oliver's avatar Spencer Oliver
Browse files

cfg: update scripts to use new stm32 driver names

parent c73342fb
Branches
Tags
No related merge requests found
...@@ -5,7 +5,7 @@ reset_config trst_and_srst ...@@ -5,7 +5,7 @@ reset_config trst_and_srst
source [find interface/stm32-stick.cfg] source [find interface/stm32-stick.cfg]
set CHIPNAME stm32_hitex set CHIPNAME stm32_hitex
source [find target/stm32.cfg] source [find target/stm32f1x.cfg]
# configure str750 connected to jtag chain # configure str750 connected to jtag chain
# FIXME -- source [find target/str750.cfg] after cleaning that up # FIXME -- source [find target/str750.cfg] after cleaning that up
......
...@@ -4,4 +4,4 @@ ...@@ -4,4 +4,4 @@
# Work-area size (RAM size) = 20kB for STM32F103RB device # Work-area size (RAM size) = 20kB for STM32F103RB device
set WORKAREASIZE 0x5000 set WORKAREASIZE 0x5000
source [find target/stm32.cfg] source [find target/stm32f1x.cfg]
...@@ -5,4 +5,4 @@ ...@@ -5,4 +5,4 @@
# Work-area size (RAM size) = 64kB for STM32F107VC device # Work-area size (RAM size) = 64kB for STM32F107VC device
set WORKAREASIZE 0x10000 set WORKAREASIZE 0x10000
source [find target/stm32.cfg] source [find target/stm32f1x.cfg]
...@@ -4,4 +4,4 @@ ...@@ -4,4 +4,4 @@
# The chip has only 8KB sram # The chip has only 8KB sram
set WORKAREASIZE 0x2000 set WORKAREASIZE 0x2000
source [find target/stm32.cfg] source [find target/stm32f1x.cfg]
...@@ -4,4 +4,4 @@ ...@@ -4,4 +4,4 @@
# increase working area to 32KB for faster flash programming # increase working area to 32KB for faster flash programming
set WORKAREASIZE 0x8000 set WORKAREASIZE 0x8000
source [find target/stm32.cfg] source [find target/stm32f1x.cfg]
...@@ -4,4 +4,4 @@ ...@@ -4,4 +4,4 @@
# increase working area to 32KB for faster flash programming # increase working area to 32KB for faster flash programming
set WORKAREASIZE 0x8000 set WORKAREASIZE 0x8000
source [find target/stm32.cfg] source [find target/stm32f1x.cfg]
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
# increase working area to 32KB for faster flash programming # increase working area to 32KB for faster flash programming
set WORKAREASIZE 0x8000 set WORKAREASIZE 0x8000
source [find target/stm32.cfg] source [find target/stm32f1x.cfg]
# #
# configure FSMC Bank 1 (NOR/PSRAM Bank 2) NOR flash # configure FSMC Bank 1 (NOR/PSRAM Bank 2) NOR flash
......
...@@ -8,4 +8,4 @@ set WORKAREASIZE 0x20000 ...@@ -8,4 +8,4 @@ set WORKAREASIZE 0x20000
# chip name # chip name
set CHIPNAME STM32F207IGT6 set CHIPNAME STM32F207IGT6
source [find target/stm32f2xxx.cfg] source [find target/stm32f2x.cfg]
...@@ -68,7 +68,7 @@ $_TARGETNAME configure -work-area-phys 0x20000000 -work-area-size $_WORKAREASIZE ...@@ -68,7 +68,7 @@ $_TARGETNAME configure -work-area-phys 0x20000000 -work-area-size $_WORKAREASIZE
# flash size will be probed # flash size will be probed
set _FLASHNAME $_CHIPNAME.flash 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 # if srst is not fitted use SYSRESETREQ to
# perform a soft reset # perform a soft reset
......
...@@ -57,5 +57,5 @@ target create $_TARGETNAME cortex_m3 -endian $_ENDIAN -chain-position $_TARGETNA ...@@ -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 $_TARGETNAME configure -work-area-phys 0x20000000 -work-area-size $_WORKAREASIZE -work-area-backup 0
set _FLASHNAME $_CHIPNAME.flash set _FLASHNAME $_CHIPNAME.flash
flash bank $_FLASHNAME stm32f2xxx 0 0 0 0 $_TARGETNAME flash bank $_FLASHNAME stm32f2x 0 0 0 0 $_TARGETNAME
# script for stm32xl family (dual flash bank) # script for stm32xl family (dual flash bank)
source [find target/stm32.cfg] source [find target/stm32f1x.cfg]
# flash size will be probed # flash size will be probed
set _FLASHNAME $_CHIPNAME.flash1 set _FLASHNAME $_CHIPNAME.flash1
flash bank $_FLASHNAME stm32x 0x08080000 0 0 0 $_TARGETNAME flash bank $_FLASHNAME stm32f1x 0x08080000 0 0 0 $_TARGETNAME
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment