From c999fcef3e96fbdb5226b0913bddf29365566ce8 Mon Sep 17 00:00:00 2001 From: Tarek BOCHKATI Date: Mon, 9 Mar 2020 15:10:17 +0100 Subject: flash/stm32l4x: add support of STM32WLEx devices STM32WLEx devices are based on arm Cortex-M4 running at 48MHz, contains a single bank of maximum 256 Kbytes of flash memory. there is 3 variants with different Flash/RAM sizes: STM32WLE5JC : 256K/64K STM32WLE5JB : 128K/48K STM32WLE5J8 : 64K/20K the work-area size is set to 20 kb to fit in STM32WLE5J8 Change-Id: Ie8e186fe4be97cbc25c53ef0ade4b4dbbcee6f66 Signed-off-by: Tarek BOCHKATI Reviewed-on: http://openocd.zylin.com/5450 Tested-by: jenkins Reviewed-by: Andreas Bolsch Reviewed-by: Tomas Vanek --- src/flash/startup.tcl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/flash/startup.tcl') diff --git a/src/flash/startup.tcl b/src/flash/startup.tcl index 9d8e910..aafb939 100644 --- a/src/flash/startup.tcl +++ b/src/flash/startup.tcl @@ -113,10 +113,11 @@ proc stm32f7x args { eval stm32f2x $args } proc stm32l0x args { eval stm32lx $args } proc stm32l1x args { eval stm32lx $args } -# stm32[g0|g4|wb] uses the same flash driver as the stm32l4x +# stm32[g0|g4|wb|wl] uses the same flash driver as the stm32l4x proc stm32g0x args { eval stm32l4x $args } proc stm32g4x args { eval stm32l4x $args } proc stm32wbx args { eval stm32l4x $args } +proc stm32wlx args { eval stm32l4x $args } # ease migration to updated flash driver proc stm32x args { -- cgit v1.1