diff options
author | Antonio Borneo <borneo.antonio@gmail.com> | 2020-04-04 19:46:38 +0200 |
---|---|---|
committer | Antonio Borneo <borneo.antonio@gmail.com> | 2020-07-26 20:15:34 +0100 |
commit | 9b32a06dad0aa6fc9c3896b21d3c32015487a090 (patch) | |
tree | d44e3135577fc11323388c7f5802495ef5b59fca /tcl/interface | |
parent | d62b3c51df50e68e7f8f583f337538b1ea510d97 (diff) | |
download | riscv-openocd-9b32a06dad0aa6fc9c3896b21d3c32015487a090.zip riscv-openocd-9b32a06dad0aa6fc9c3896b21d3c32015487a090.tar.gz riscv-openocd-9b32a06dad0aa6fc9c3896b21d3c32015487a090.tar.bz2 |
drivers/linuxgpiod: add led
Bitbang interface allows having a LED on one of the GPIO.
Let also linuxgpiod driver to specify and use the LED connection.
Change-Id: Id3d8772ee1808b92354fd073ba3947bacd8253ef
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: http://openocd.zylin.com/5770
Tested-by: jenkins
Diffstat (limited to 'tcl/interface')
-rw-r--r-- | tcl/interface/dln-2-gpiod.cfg | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tcl/interface/dln-2-gpiod.cfg b/tcl/interface/dln-2-gpiod.cfg index 1859688..5407a24 100644 --- a/tcl/interface/dln-2-gpiod.cfg +++ b/tcl/interface/dln-2-gpiod.cfg @@ -11,6 +11,7 @@ # | TMS/SWDIO | J3.4 (PA3) | 3 | # | TDI | J3.5 (PA4) | 4 | # | nTRST | J3.6 (PA5) | 5 | +# | LED | J3.7 (PA6) | 6 | # | GND | J3.12 (GND) | | # +-----------+-------------+-------------+ @@ -21,5 +22,6 @@ linuxgpiod_jtag_nums 2 3 4 1 linuxgpiod_trst_num 5 linuxgpiod_swd_nums 2 3 linuxgpiod_srst_num 0 +linuxgpiod_led_num 6 reset_config trst_and_srst separate srst_push_pull |