87668aebf1
adapter_init (core.c) won't check speed configuration of the selected interface if it's not needed (.speed = NULL). When it's not needed, we can now omit adapter_khz in init scripts and we don't have to implement dummy handlers for speed_div and khz functions. It also removes calls to adapter_khz in interface configuration files when not used anymore. Change-Id: I6eb1894385503fede542a368f297cec6565eed44 Signed-off-by: Franck Jullien <franck.jullien@gmail.com> Reviewed-on: http://openocd.zylin.com/1131 Tested-by: jenkins Reviewed-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
22 lines
554 B
INI
22 lines
554 B
INI
#
|
|
# Config for using RaspberryPi's expansion header
|
|
#
|
|
# This is best used with a fast enough buffer but also
|
|
# is suitable for direct connection if the target voltage
|
|
# matches RPi's 3.3V
|
|
#
|
|
# Do not forget the GND connection, pin 6 of the expansion header.
|
|
#
|
|
|
|
interface sysfsgpio
|
|
|
|
# Each of the JTAG lines need a gpio number set: tck tms tdi tdo
|
|
# Header pin numbers: 23 22 19 21
|
|
sysfsgpio_jtag_nums 11 25 10 9
|
|
|
|
# At least one of srst or trst needs to be specified
|
|
# Header pin numbers: TRST - 26, SRST - 18
|
|
sysfsgpio_trst_num 7
|
|
# sysfsgpio_srst_num 24
|
|
|