From dca1c6ca1f78a6a89e4274e409ff822d655add6b Mon Sep 17 00:00:00 2001 From: Tarek BOCHKATI Date: Sun, 1 Mar 2020 22:38:50 +0100 Subject: flash/startup.tcl: add STM32G0 and G4 aliases STM32G0 and G4 uses the same flash driver as the stm32l4x Change-Id: Ic1c4be70aaee809536912e0390f07893efb9a082 Signed-off-by: Tarek BOCHKATI Reviewed-on: http://openocd.zylin.com/5482 Tested-by: jenkins Reviewed-by: Tomas Vanek --- src/flash/startup.tcl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/flash/startup.tcl b/src/flash/startup.tcl index 72595348..9d8e9101 100644 --- a/src/flash/startup.tcl +++ b/src/flash/startup.tcl @@ -113,7 +113,9 @@ proc stm32f7x args { eval stm32f2x $args } proc stm32l0x args { eval stm32lx $args } proc stm32l1x args { eval stm32lx $args } -# stm32wb uses the same flash driver as the stm32l4x +# stm32[g0|g4|wb] 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 } # ease migration to updated flash driver -- cgit v1.2.3-18-g5258