sysfsgpio-raspberrypi.cfg 870 B

123456789101112131415161718192021222324252627282930313233
  1. # SPDX-License-Identifier: GPL-2.0-or-later
  2. #
  3. # Config for using RaspberryPi's expansion header
  4. #
  5. # This is best used with a fast enough buffer but also
  6. # is suitable for direct connection if the target voltage
  7. # matches RPi's 3.3V
  8. #
  9. # Do not forget the GND connection, pin 6 of the expansion header.
  10. #
  11. adapter driver sysfsgpio
  12. # Each of the JTAG lines need a gpio number set: tck tms tdi tdo
  13. # Header pin numbers: 23 22 19 21
  14. sysfsgpio jtag_nums 11 25 10 9
  15. # Each of the SWD lines need a gpio number set: swclk swdio
  16. # Header pin numbers: 23 22
  17. sysfsgpio swd_nums 11 25
  18. # If you define trst or srst, use appropriate reset_config
  19. # Header pin numbers: TRST - 26, SRST - 18
  20. # sysfsgpio trst_num 7
  21. # reset_config trst_only
  22. # sysfsgpio srst_num 24
  23. # reset_config srst_only srst_push_pull
  24. # or if you have both connected,
  25. # reset_config trst_and_srst srst_push_pull