You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

32 lines
825 B

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