summaryrefslogtreecommitdiff
path: root/util/openocd/nrf51_chip.cfg
blob: f0e78897d63031196f3afb12a83c1182bd258868 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14

#nRF51 uses SWD
transport select swd
# Since nTRST is repurposed, we need a different layout_init setting
ftdi_layout_init 0x0008 0x009b

ftdi_layout_signal SWDIO_OE -nalias nTRST
ftdi_layout_signal SWD_EN -alias TMS

#Disable fast flashing, it only works with ST-Link and CMSIS-DAP
set WORKAREASIZE 0
source [find target/nrf51.cfg]
source [find nrf51_cmds.tcl]