aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTarek BOCHKATI <tarek.bouchkati@gmail.com>2020-03-01 22:38:50 +0100
committerTomas Vanek <vanekt@fbl.cz>2020-03-16 15:26:03 +0000
commitdca1c6ca1f78a6a89e4274e409ff822d655add6b (patch)
tree76339a65c3541dea76a8ffdad0915f430fe2f6ad
parentba131f30a0798d97729f9517c136d32f58f57571 (diff)
flash/startup.tcl: add STM32G0 and G4 aliasesHEADmaster
STM32G0 and G4 uses the same flash driver as the stm32l4x Change-Id: Ic1c4be70aaee809536912e0390f07893efb9a082 Signed-off-by: Tarek BOCHKATI <tarek.bouchkati@gmail.com> Reviewed-on: http://openocd.zylin.com/5482 Tested-by: jenkins Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
-rw-r--r--src/flash/startup.tcl4
1 files changed, 3 insertions, 1 deletions
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