From 1203673e5cc001f375af970bd5d4b8de2e0b3ee8 Mon Sep 17 00:00:00 2001 From: lowfatcode Date: Wed, 12 May 2021 09:58:17 +0100 Subject: [PATCH] Add Pimoroni HDMI Demo board serialiser config This change adds support to our upcoming HDMI demo board for Pico, would you mind including the definition for it in the main repo please? --- software/include/common_dvi_pin_configs.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/software/include/common_dvi_pin_configs.h b/software/include/common_dvi_pin_configs.h index d853283..1ed27e6 100644 --- a/software/include/common_dvi_pin_configs.h +++ b/software/include/common_dvi_pin_configs.h @@ -65,4 +65,14 @@ static const struct dvi_serialiser_cfg pico_sock_cfg = { .invert_diffpairs = false }; +// The HDMI socket on Pimoroni Pico Demo HDMI +// (we would talk about rev B if we had a rev B...) +static const struct dvi_serialiser_cfg pimoroni_demo_hdmi_cfg = { + .pio = pio0, + .sm_tmds = {0, 1, 2}, + .pins_tmds = {8, 10, 12}, + .pins_clk = 6, + .invert_diffpairs = true +}; + #endif