tcl/stm32l5x|u5x: refactor common tcl code
authorTarek BOCHKATI <tarek.bouchkati@gmail.com>
Wed, 22 Sep 2021 15:15:55 +0000 (16:15 +0100)
committerAntonio Borneo <borneo.antonio@gmail.com>
Sat, 12 Mar 2022 09:32:59 +0000 (09:32 +0000)
commitf583f338b086ed3a1cd471e1fd8ef99589a64dae
treefe5b653bfa4947bece46f2eca04251fa50eaeafa
parent57c1e491801c6e67cb8b429bcf5c0ecf1bcef27b
tcl/stm32l5x|u5x: refactor common tcl code

both stm32l5x and stm32u5x configs are almost identical except
clock config.

while at there rename target procs to avoid issues with JTAG daisy
chaining.

Change-Id: Ibbb1dfeb91a7f8d5d45744cf57dca2877f60e0c5
Signed-off-by: Tarek BOCHKATI <tarek.bouchkati@gmail.com>
Reviewed-on: https://review.openocd.org/c/openocd/+/6596
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
Tested-by: jenkins
tcl/target/stm32l5x.cfg
tcl/target/stm32u5x.cfg
tcl/target/stm32x5x_common.cfg [new file with mode: 0644]