From 9e4b109fadb5d78315b29742d8f56edacfcc52e7 Mon Sep 17 00:00:00 2001 From: Jeff Epler Date: Fri, 28 Feb 2025 10:10:06 -0600 Subject: [PATCH] fruit jam pinning --- MCUME_pico2/config/iopins.h | 17 +++++++++++++++++ MCUME_pico2/display/hdmi_framebuffer.cpp | 9 --------- 2 files changed, 17 insertions(+), 9 deletions(-) diff --git a/MCUME_pico2/config/iopins.h b/MCUME_pico2/config/iopins.h index c064a40..0e52d00 100644 --- a/MCUME_pico2/config/iopins.h +++ b/MCUME_pico2/config/iopins.h @@ -48,4 +48,21 @@ #define PSRAM_CS 9 #define PSRAM_SPIREG spi1 + +#if 0 // metro rp2350 +#define PIN_CKN (15u) +#define PIN_CKP (14u) +#define PIN_D0N (19u) +#define PIN_D0P (18u) +#define PIN_D1N (17u) +#define PIN_D1P (16u) +#define PIN_D2N (13u) +#define PIN_D2P (12u) +#endif + +#define PIN_CKP (13u) +#define PIN_D0P (15u) +#define PIN_D1P (17u) +#define PIN_D2P (19u) + #endif diff --git a/MCUME_pico2/display/hdmi_framebuffer.cpp b/MCUME_pico2/display/hdmi_framebuffer.cpp index 6e6d824..7d9dc91 100755 --- a/MCUME_pico2/display/hdmi_framebuffer.cpp +++ b/MCUME_pico2/display/hdmi_framebuffer.cpp @@ -338,15 +338,6 @@ void hdmi_framebuffer(hdmi_framebuffer_obj_t *self, uint16_t width, uint16_t hei // If we want the exact rate then we'll have to reconfigure PLLs. // HSTX outputs 0 through 7 appear on GPIO 12 through 19. -#define PIN_CKN (15u) -#define PIN_CKP (14u) -#define PIN_D0N (19u) -#define PIN_D0P (18u) -#define PIN_D1N (17u) -#define PIN_D1P (16u) -#define PIN_D2N (13u) -#define PIN_D2P (12u) - constexpr int HSTX_FIRST_PIN = 12; struct { uint8_t clk_p, rgb_p[3]; } pinout = { PIN_CKP, PIN_D0P, PIN_D1P, PIN_D2P };