add DVI pin mapping to pins_arduino.h #3026

Merged
SamHalvoe merged 1 commits from patch-2 into master 2025-07-07 21:53:19 +03:00
SamHalvoe commented 2025-07-06 22:00:45 +03:00 (Migrated from github.com)

I use the Adafruit library https://github.com/adafruit/Adafruit-DVI-HSTX, which implements DVI over HSTX.
You need the correct pin mapping for tzhe HSTX pins to use this library. Adafruit HSTX boards define this mapping.
I would like to add this to the Pimoroni Pico Plus 2, so that you can use the Adafruit library out of the box without headaches how to map the HSTX pins.

I use the Adafruit library https://github.com/adafruit/Adafruit-DVI-HSTX, which implements DVI over HSTX. You need the correct pin mapping for tzhe HSTX pins to use this library. Adafruit HSTX boards define this mapping. I would like to add this to the Pimoroni Pico Plus 2, so that you can use the Adafruit library out of the box without headaches how to map the HSTX pins.
earlephilhower commented 2025-07-07 19:56:06 +03:00 (Migrated from github.com)

Thanks, but aren't the pins fixed by the hardware? Meaning there should be one definition for all RP2350 boards somewhere, or just assumed by the library?

Thanks, but aren't the pins fixed by the hardware? Meaning there should be one definition for all RP2350 boards somewhere, or just assumed by the library?
SamHalvoe commented 2025-07-07 21:09:44 +03:00 (Migrated from github.com)

I think the HSTX is fixed, but the mapping to the GPIO is specific to each board. But can't tell for sure.
See the Adafruit HSTX board, it has a different mapping than the Pimoroni Pico Plus 2.

I think the HSTX is fixed, but the mapping to the GPIO is specific to each board. But can't tell for sure. See the Adafruit HSTX board, it has a different [mapping](https://github.com/earlephilhower/arduino-pico/blob/master/variants%2Fadafruit_feather_rp2350_hstx%2Fpins_arduino.h#L44-L52) than the Pimoroni Pico Plus 2.
SamHalvoe commented 2025-07-07 21:21:19 +03:00 (Migrated from github.com)

I assume that the Raspberry Pi Pico 2 and Raspberry Pi Pico 2 W have the same mapping as the Pimoroni boards.

I assume that the Raspberry Pi Pico 2 and Raspberry Pi Pico 2 W have the same mapping as the Pimoroni boards.
earlephilhower commented 2025-07-07 21:52:42 +03:00 (Migrated from github.com)

Ah, got it. The pins you can use are fixed, but the function of each GPIO is configurable. Thx!

Ah, got it. The pins you can use are fixed, but the function of each GPIO is configurable. Thx!
Sign in to join this conversation.