From 9bb6fa67ca6de6f725df78ac8a415b5b47fb9420 Mon Sep 17 00:00:00 2001 From: Antonio Borneo Date: Fri, 4 Jul 2025 16:50:46 +0200 Subject: [PATCH] tcl: move STM32 MPU files in vendor folder Move the existing files for STM32MP13x and STM32MP15x in the folder "st". Rename the board files using the correct names. While there, add the missing URL to one of the boards. Change-Id: If8b92f55e3390ebc75df6a2ea09fcf798ea0b8cf Signed-off-by: Antonio Borneo Reviewed-on: https://review.openocd.org/c/openocd/+/8982 Tested-by: jenkins Reviewed-by: zapb --- tcl/board/{stm32mp13x_dk.cfg => st/stm32mp135f-dk.cfg} | 2 +- tcl/board/{stm32mp15x_dk2.cfg => st/stm32mp157f-dk2.cfg} | 3 ++- tcl/file_renaming.cfg | 2 ++ tcl/target/{ => st}/stm32mp13x.cfg | 0 tcl/target/{ => st}/stm32mp15x.cfg | 0 5 files changed, 5 insertions(+), 2 deletions(-) rename tcl/board/{stm32mp13x_dk.cfg => st/stm32mp135f-dk.cfg} (83%) rename tcl/board/{stm32mp15x_dk2.cfg => st/stm32mp157f-dk2.cfg} (72%) rename tcl/target/{ => st}/stm32mp13x.cfg (100%) rename tcl/target/{ => st}/stm32mp15x.cfg (100%) diff --git a/tcl/board/stm32mp13x_dk.cfg b/tcl/board/st/stm32mp135f-dk.cfg similarity index 83% rename from tcl/board/stm32mp13x_dk.cfg rename to tcl/board/st/stm32mp135f-dk.cfg index 8ece24844..2259e0425 100644 --- a/tcl/board/stm32mp13x_dk.cfg +++ b/tcl/board/st/stm32mp135f-dk.cfg @@ -7,6 +7,6 @@ source [find interface/stlink.cfg] transport select swd -source [find target/stm32mp13x.cfg] +source [find target/st/stm32mp13x.cfg] reset_config srst_only diff --git a/tcl/board/stm32mp15x_dk2.cfg b/tcl/board/st/stm32mp157f-dk2.cfg similarity index 72% rename from tcl/board/stm32mp15x_dk2.cfg rename to tcl/board/st/stm32mp157f-dk2.cfg index ba1c7f78a..b193ae3a0 100644 --- a/tcl/board/stm32mp15x_dk2.cfg +++ b/tcl/board/st/stm32mp157f-dk2.cfg @@ -3,11 +3,12 @@ # board MB1272B # http://www.st.com/en/evaluation-tools/stm32mp157a-dk1.html # http://www.st.com/en/evaluation-tools/stm32mp157c-dk2.html +# http://www.st.com/en/evaluation-tools/stm32mp157f-dk2.html source [find interface/stlink.cfg] transport select swd -source [find target/stm32mp15x.cfg] +source [find target/st/stm32mp15x.cfg] reset_config srst_only diff --git a/tcl/file_renaming.cfg b/tcl/file_renaming.cfg index 0a3c7ba65..20679b6ab 100644 --- a/tcl/file_renaming.cfg +++ b/tcl/file_renaming.cfg @@ -17,6 +17,8 @@ set _file_renaming { board/nordic_nrf51822_mkit.cfg board/nordic/nrf51822-mkit.cfg board/nordic_nrf51_dk.cfg board/nordic/nrf51-dk.cfg board/nordic_nrf52_dk.cfg board/nordic/nrf52-dk.cfg + board/stm32mp13x_dk.cfg board/st/stm32mp135f-dk.cfg + board/stm32mp15x_dk2.cfg board/st/stm32mp157f-dk2.cfg target/nrf51.cfg target/nordic/nrf51.cfg target/nrf52.cfg target/nordic/nrf52.cfg target/nrf53.cfg target/nordic/nrf53.cfg diff --git a/tcl/target/stm32mp13x.cfg b/tcl/target/st/stm32mp13x.cfg similarity index 100% rename from tcl/target/stm32mp13x.cfg rename to tcl/target/st/stm32mp13x.cfg diff --git a/tcl/target/stm32mp15x.cfg b/tcl/target/st/stm32mp15x.cfg similarity index 100% rename from tcl/target/stm32mp15x.cfg rename to tcl/target/st/stm32mp15x.cfg