Hello,

I wanted to ask if there is anything speaking against making linuxgpio.c support
using pin of multiple GPIO ports/chip (and not only of one as it is right now).

Here is how the config would look like.

----------------------------------------------------
adapter driver linuxgpiod
transport select swd

# SWCLK (PC6)
linuxgpiod_swclk_gpiochip 2
linuxgpiod_swclk_num 6

# SWDIO (PB9)
linuxgpiod_swdio_gpiochip 1
linuxgpiod_swdio_num 9

# SRST (PA4)
linuxgpiod_srst_gpiochip 0
linuxgpiod_srst_num 4

# LED (PH11)
linuxgpiod_led_gpiochip 7
linuxgpiod_led_num 11
----------------------------------------------------

I actually created patches for various OpenOCD versions and having to
maintain them drives me a bit crazy. Hence I wanted to check if there
is the possibility of upstreaming a patch for the latest version of
OpenOCD.

Best,

Lazlo

Reply via email to