aboutsummaryrefslogtreecommitdiff
path: root/src/flash/startup.tcl
diff options
context:
space:
mode:
authorTarek BOCHKATI <tarek.bouchkati@gmail.com>2020-02-05 19:00:46 +0100
committerTomas Vanek <vanekt@fbl.cz>2020-02-13 20:21:24 +0000
commit0a11537b3220749107f4ec78c76236ac8c9339d1 (patch)
tree349d0e15d68e52e4ac99a42e365cc552186fad43 /src/flash/startup.tcl
parent6dfcc3f5a5b7101d9d44312e6a96e0bea05a558d (diff)
downloadriscv-openocd-0a11537b3220749107f4ec78c76236ac8c9339d1.zip
riscv-openocd-0a11537b3220749107f4ec78c76236ac8c9339d1.tar.gz
riscv-openocd-0a11537b3220749107f4ec78c76236ac8c9339d1.tar.bz2
flash/stm32lx: mention explicitly that this driver covers STM32 L0 and L1
this is to avoid confusion with STM32 L4, L4+ and L5 families also: - a warning message is changed to error - stm32l0x and stm32l1x aliases has been created to permit the usage of either names Change-Id: If3f16d2a3b7d1369959aa7407da37a9076ea91d7 Signed-off-by: Tarek BOCHKATI <tarek.bouchkati@gmail.com> Reviewed-on: http://openocd.zylin.com/5437 Reviewed-by: Marc Schink <dev@zapb.de> Tested-by: jenkins Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
Diffstat (limited to 'src/flash/startup.tcl')
-rw-r--r--src/flash/startup.tcl4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/flash/startup.tcl b/src/flash/startup.tcl
index 63151b5..7259534 100644
--- a/src/flash/startup.tcl
+++ b/src/flash/startup.tcl
@@ -109,6 +109,10 @@ proc stm32f3x args { eval stm32f1x $args }
proc stm32f4x args { eval stm32f2x $args }
proc stm32f7x args { eval stm32f2x $args }
+# stm32lx driver supports both STM32 L0 and L1 devices
+proc stm32l0x args { eval stm32lx $args }
+proc stm32l1x args { eval stm32lx $args }
+
# stm32wb uses the same flash driver as the stm32l4x
proc stm32wbx args { eval stm32l4x $args }