Skip to content

Commit c168761

Browse files
tom-vanborneoa
authored andcommitted
tcl/target/stm32g4x: drop useless reset-start event
There is no boost of adapter speed in reset-init event so it's not necessary to set back the safe speed in reset-start Change-Id: I8b78442471390f7183c39d67b29788cccc98d018 Signed-off-by: Tomas Vanek <[email protected]> Reviewed-on: https://review.openocd.org/c/openocd/+/9128 Tested-by: jenkins Reviewed-by: Antonio Borneo <[email protected]> Reviewed-by: zapb <[email protected]> Reviewed-by: Ahmed Haoues <[email protected]>
1 parent f5478eb commit c168761

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

tcl/target/stm32g4x.cfg

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -83,11 +83,6 @@ $_TARGETNAME configure -event reset-init {
8383
mmw 0x40021008 0x00000001 0x00000002 ;# RCC_CFGR: SW=HSI16
8484
}
8585

86-
$_TARGETNAME configure -event reset-start {
87-
# Reset clock is HSI (16 MHz)
88-
adapter speed 2000
89-
}
90-
9186
$_TARGETNAME configure -event examine-end {
9287
# DBGMCU_CR |= DBG_STANDBY | DBG_STOP | DBG_SLEEP
9388
mmw 0xE0042004 0x00000007 0

0 commit comments

Comments
 (0)