]> www.infradead.org Git - users/borneoa/openocd-next.git/commitdiff
tcl/target: Move nordic configuration files
authorMarc Schink <dev@zapb.de>
Mon, 12 May 2025 04:47:22 +0000 (06:47 +0200)
committerAntonio Borneo <borneo.antonio@gmail.com>
Sat, 7 Jun 2025 09:06:12 +0000 (09:06 +0000)
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 <dev@zapb.de>
Reviewed-on: https://review.openocd.org/c/openocd/+/8905
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
Tested-by: jenkins
tcl/target/nordic/common.cfg [moved from tcl/target/nrf_common.cfg with 100% similarity]
tcl/target/nordic/nrf51.cfg [moved from tcl/target/nrf51.cfg with 100% similarity]
tcl/target/nordic/nrf52.cfg [moved from tcl/target/nrf52.cfg with 100% similarity]
tcl/target/nordic/nrf53.cfg [moved from tcl/target/nrf53.cfg with 99% similarity]
tcl/target/nordic/nrf91.cfg [moved from tcl/target/nrf91.cfg with 97% similarity]

similarity index 99%
rename from tcl/target/nrf53.cfg
rename to tcl/target/nordic/nrf53.cfg
index 307df902c27fb73e98160e1c81f8a8a21497e88e..0dcfd55ecad7c21b728947853259df595f983a79 100644 (file)
@@ -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
similarity index 97%
rename from tcl/target/nrf91.cfg
rename to tcl/target/nordic/nrf91.cfg
index e0ff4e5460363415869c95383b3d689e0294cb9a..64ed864e75a1ed59c2a6116d2273d970ec30600e 100644 (file)
@@ -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