This is an automated email from Gerrit. "Markus Reiter <m...@reitermark.us>" just uploaded a new patch set to Gerrit, which you can find at https://review.openocd.org/c/openocd/+/6930
-- gerrit commit 3c466aa5f32f9c9d707f373f6ab5d1e19f16ae88 Author: Markus Reiter <m...@reitermark.us> Date: Sat Apr 16 18:59:49 2022 +0200 tcl/target/stm32f4: fix names Signed-off-by: Markus Reiter <m...@reitermark.us> Change-Id: I9baa79d8cf402991e6638c255a91728b8a77020c diff --git a/tcl/target/stm32f4x.cfg b/tcl/target/stm32f4x.cfg index 2228de72fc..38cb37d926 100644 --- a/tcl/target/stm32f4x.cfg +++ b/tcl/target/stm32f4x.cfg @@ -1,7 +1,7 @@ # script for stm32f4x family # -# stm32 devices support both JTAG and SWD transports. +# stm32f4 devices support both JTAG and SWD transports. # source [find target/swj-dp.tcl] source [find mem_helper.tcl] @@ -50,9 +50,8 @@ target create $_TARGETNAME cortex_m -endian $_ENDIAN -dap $_CHIPNAME.dap $_TARGETNAME configure -work-area-phys 0x20000000 -work-area-size $_WORKAREASIZE -work-area-backup 0 set _FLASHNAME $_CHIPNAME.flash -flash bank $_FLASHNAME stm32f2x 0 0 0 0 $_TARGETNAME - -flash bank $_CHIPNAME.otp stm32f2x 0x1fff7800 0 0 0 $_TARGETNAME +flash bank $_FLASHNAME stm32f4x 0 0 0 0 $_TARGETNAME +flash bank $_CHIPNAME.otp stm32f4x 0x1fff7800 0 0 0 $_TARGETNAME if { [info exists QUADSPI] && $QUADSPI } { set a [llength [flash list]] --