forked from auracaster/openocd
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 <dev@zapb.de> Reviewed-on: https://review.openocd.org/c/openocd/+/8905 Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com> Tested-by: jenkins
This commit is contained in:
committed by
Antonio Borneo
parent
b06212b5a2
commit
152becc460
@@ -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
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user