]> git.gag.com Git - fw/openocd/commitdiff
flash/startup.tcl: add STM32G0 and G4 aliases
authorTarek BOCHKATI <tarek.bouchkati@gmail.com>
Sun, 1 Mar 2020 21:38:50 +0000 (22:38 +0100)
committerTomas Vanek <vanekt@fbl.cz>
Mon, 16 Mar 2020 15:26:03 +0000 (15:26 +0000)
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>
src/flash/startup.tcl

index 725953486af7bd464a7eb064a1f59e1d2caf8b45..9d8e91014374ec80610630b84650a7d9969aafb1 100644 (file)
@@ -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