From 7aae03409bcfb7bd8cca78626ebf872c310ab17c Mon Sep 17 00:00:00 2001 From: Fabio Utzig Date: Wed, 29 Apr 2015 19:52:34 -0300 Subject: Rename demo directory --- demos/NRF51/RT-WVSHARE_BLE400/openocd.cfg | 15 +++++++++++++++ demos/NRF51/WVSHARE_BLE400/openocd.cfg | 15 --------------- 2 files changed, 15 insertions(+), 15 deletions(-) create mode 100644 demos/NRF51/RT-WVSHARE_BLE400/openocd.cfg delete mode 100644 demos/NRF51/WVSHARE_BLE400/openocd.cfg (limited to 'demos/NRF51') diff --git a/demos/NRF51/RT-WVSHARE_BLE400/openocd.cfg b/demos/NRF51/RT-WVSHARE_BLE400/openocd.cfg new file mode 100644 index 0000000..1cb3a16 --- /dev/null +++ b/demos/NRF51/RT-WVSHARE_BLE400/openocd.cfg @@ -0,0 +1,15 @@ +source [find interface/stlink-v2.cfg] + +set _CHIPNAME nrf51 +set _TARGETNAME $_CHIPNAME.cpu +set _CPUTAPID 0x0bb11477 +set _WORKAREASIZE 0x4000 + +transport select hla_swd +hla newtap $_CHIPNAME cpu -expected-id $_CPUTAPID +target create $_TARGETNAME hla_target -chain-position $_TARGETNAME + +$_TARGETNAME configure -work-area-phys 0x20000000 -work-area-size $_WORKAREASIZE -work-area-backup 0 + +flash bank $_CHIPNAME.flash nrf51 0x00000000 0 1 1 $_TARGETNAME +flash bank $_CHIPNAME.uicr nrf51 0x10001000 0 1 1 $_TARGETNAME diff --git a/demos/NRF51/WVSHARE_BLE400/openocd.cfg b/demos/NRF51/WVSHARE_BLE400/openocd.cfg deleted file mode 100644 index 1cb3a16..0000000 --- a/demos/NRF51/WVSHARE_BLE400/openocd.cfg +++ /dev/null @@ -1,15 +0,0 @@ -source [find interface/stlink-v2.cfg] - -set _CHIPNAME nrf51 -set _TARGETNAME $_CHIPNAME.cpu -set _CPUTAPID 0x0bb11477 -set _WORKAREASIZE 0x4000 - -transport select hla_swd -hla newtap $_CHIPNAME cpu -expected-id $_CPUTAPID -target create $_TARGETNAME hla_target -chain-position $_TARGETNAME - -$_TARGETNAME configure -work-area-phys 0x20000000 -work-area-size $_WORKAREASIZE -work-area-backup 0 - -flash bank $_CHIPNAME.flash nrf51 0x00000000 0 1 1 $_TARGETNAME -flash bank $_CHIPNAME.uicr nrf51 0x10001000 0 1 1 $_TARGETNAME -- cgit v1.2.3