flash/nor/stm32f1x: Add support for GD32E23x
[fw/openocd] / tcl / interface / raspberrypi-native.cfg
index 058d80bfd842cef44ee603d3dce07d5b40803d77..634b8c95aa7973cdf43f1c5d453e59cf83bea78c 100644 (file)
@@ -8,26 +8,31 @@
 # Do not forget the GND connection, pin 6 of the expansion header.
 #
 
-interface bcm2835gpio
+adapter driver bcm2835gpio
+
+bcm2835gpio peripheral_base 0x20000000
 
 # Transition delay calculation: SPEED_COEFF/khz - SPEED_OFFSET
 # These depend on system clock, calibrated for stock 700MHz
-# bcm2835gpio_speed SPEED_COEFF SPEED_OFFSET
-bcm2835gpio_speed_coeffs 113714 28
+# bcm2835gpio speed SPEED_COEFF SPEED_OFFSET
+bcm2835gpio speed_coeffs 113714 28
 
 # Each of the JTAG lines need a gpio number set: tck tms tdi tdo
 # Header pin numbers: 23 22 19 21
-bcm2835gpio_jtag_nums 11 25 10 9
+bcm2835gpio jtag_nums 11 25 10 9
+
+# Each of the SWD lines need a gpio number set: swclk swdio
+# Header pin numbers: 23 22
+bcm2835gpio swd_nums 11 25
 
 # If you define trst or srst, use appropriate reset_config
 # Header pin numbers: TRST - 26, SRST - 18
 
-# bcm2835gpio_trst_num 7
+# bcm2835gpio trst_num 7
 # reset_config trst_only
 
-# bcm2835gpio_srst_num 24
+# bcm2835gpio srst_num 24
 # reset_config srst_only srst_push_pull
 
 # or if you have both connected,
 # reset_config trst_and_srst srst_push_pull
-