diff options
author | Fabio Utzig <utzig@utzig.org> | 2015-07-26 19:59:23 -0300 |
---|---|---|
committer | Fabio Utzig <utzig@utzig.org> | 2015-07-26 19:59:23 -0300 |
commit | d1d6fa4bf8d160a13d734a0d3dc67790831c5858 (patch) | |
tree | 34e5323c9e17d598a0755f6c4ae63e9989702a15 /demos | |
parent | 47fc79e99e72bebe24583639d60dfa6f2267d23e (diff) | |
parent | 956028f34521f6edaa4eb7c1362a0fc635239096 (diff) | |
download | ChibiOS-Contrib-d1d6fa4bf8d160a13d734a0d3dc67790831c5858.tar.gz ChibiOS-Contrib-d1d6fa4bf8d160a13d734a0d3dc67790831c5858.tar.bz2 ChibiOS-Contrib-d1d6fa4bf8d160a13d734a0d3dc67790831c5858.zip |
Merge pull request #15 from utzig/nrf51-update-ocd-config
[NRF51] Update openocd config file (0.9.0 has nrf51 target)
Diffstat (limited to 'demos')
-rw-r--r-- | demos/NRF51/RT-WVSHARE_BLE400/debug/openocd.cfg | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/demos/NRF51/RT-WVSHARE_BLE400/debug/openocd.cfg b/demos/NRF51/RT-WVSHARE_BLE400/debug/openocd.cfg index 1cb3a16..078915a 100644 --- a/demos/NRF51/RT-WVSHARE_BLE400/debug/openocd.cfg +++ b/demos/NRF51/RT-WVSHARE_BLE400/debug/openocd.cfg @@ -1,15 +1,6 @@ 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 +set WORKAREASIZE 0x4000 +source [find target/nrf51.cfg] |