From: Marc Schink Date: Mon, 12 May 2025 04:47:22 +0000 (+0200) Subject: tcl/target: Move nordic configuration files X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=152becc4607e97aa692e41cb281753121d9ee75d;p=users%2Fborneoa%2Fopenocd-next.git tcl/target: Move nordic configuration files Move target configuration files into a dedicated vendor directory as required by the new guideline for configuration files. Note that the moved files are still accessible via the old path to ensure backwards compatibility. This works because of the extended file search in vendor folders. Change-Id: If3935985769dc543e8c7d72cda590c9d79303abb Signed-off-by: Marc Schink Reviewed-on: https://review.openocd.org/c/openocd/+/8905 Reviewed-by: Antonio Borneo Tested-by: jenkins --- diff --git a/tcl/target/nrf_common.cfg b/tcl/target/nordic/common.cfg similarity index 100% rename from tcl/target/nrf_common.cfg rename to tcl/target/nordic/common.cfg diff --git a/tcl/target/nrf51.cfg b/tcl/target/nordic/nrf51.cfg similarity index 100% rename from tcl/target/nrf51.cfg rename to tcl/target/nordic/nrf51.cfg diff --git a/tcl/target/nrf52.cfg b/tcl/target/nordic/nrf52.cfg similarity index 100% rename from tcl/target/nrf52.cfg rename to tcl/target/nordic/nrf52.cfg diff --git a/tcl/target/nrf53.cfg b/tcl/target/nordic/nrf53.cfg similarity index 99% rename from tcl/target/nrf53.cfg rename to tcl/target/nordic/nrf53.cfg index 307df902c..0dcfd55ec 100644 --- a/tcl/target/nrf53.cfg +++ b/tcl/target/nordic/nrf53.cfg @@ -60,7 +60,7 @@ if { ![using_hla] } { # Keep adapter speed less or equal 2000 kHz or flash programming fails! adapter speed 1000 -source [find target/nrf_common.cfg] +source [find target/nordic/common.cfg] flash bank $_CHIPNAME.app.flash nrf5 0x00000000 0 0 0 $_TARGETNAME_APP flash bank $_CHIPNAME.app.uicr nrf5 0x00FF8000 0 0 0 $_TARGETNAME_APP diff --git a/tcl/target/nrf91.cfg b/tcl/target/nordic/nrf91.cfg similarity index 97% rename from tcl/target/nrf91.cfg rename to tcl/target/nordic/nrf91.cfg index e0ff4e546..64ed864e7 100644 --- a/tcl/target/nrf91.cfg +++ b/tcl/target/nordic/nrf91.cfg @@ -45,7 +45,7 @@ adapter speed 1000 $_TARGETNAME configure -work-area-phys 0x20000000 -work-area-size $_WORKAREASIZE -work-area-backup 0 -source [find target/nrf_common.cfg] +source [find target/nordic/common.cfg] flash bank $_CHIPNAME.flash nrf5 0x00000000 0 0 0 $_TARGETNAME flash bank $_CHIPNAME.uicr nrf5 0x00FF8000 0 0 0 $_TARGETNAME