Skip to content

Commit cf0a070

Browse files
committed
Add Huidu HU-FW2 Hub75 board
1 parent 933aa7e commit cf0a070

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

wled00/bus_manager.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -769,6 +769,7 @@ constexpr size_t HUB75_PIN_COUNT = sizeof(HUB75_I2S_CFG::gpio) / sizeof(int8_t);
769769
static uint8_t __portal[HUB75_PIN_COUNT] PROGMEM = { 42, 41, 40, 38, 39, 37, 45, 36, 48, 35, 21, 47, 14, 2};
770770
static uint8_t __moonhub[HUB75_PIN_COUNT] PROGMEM = { 1, 5, 6, 7, 13, 9, 16, 48, 47, 21, 38, 8, 4, 18};
771771
static uint8_t __s3generic[HUB75_PIN_COUNT] PROGMEM = { 1, 2, 42, 41, 40, 39, 45, 48, 47, 21, 38, 8, 3, 18};
772+
static uint8_t __hd_wf2[HUB75_PIN_COUNT] PROGMEM = { 2, 6, 10, 3, 7, 11, 39, 38, 37, 36, 21, 33, 35, 34};
772773
#elif defined(CONFIG_IDF_TARGET_ESP32S2)
773774
static uint8_t __s2drive[HUB75_PIN_COUNT] PROGMEM = { 2, 6, 3, 4, 8, 5, 39, 38, 37, 36, 12, 33, 35, 34};
774775
#elif defined(CONFIG_IDF_TARGET_ESP32)
@@ -790,6 +791,9 @@ static const uint8_t * const getHub75Pins(uint8_t type, uint8_t *dest = nullptr)
790791
case TYPE_HUB75MATRIX_S3:
791792
b = __s3generic;
792793
break;
794+
case TYPE_HUB75HD_WF2:
795+
b = __hd_wf2;
796+
break;
793797
#elif defined(CONFIG_IDF_TARGET_ESP32S2)
794798
case TYPE_HUB75MATRIX_S2DRIVE:
795799
b = __s2drive;
@@ -1121,6 +1125,7 @@ std::vector<LEDType> BusHub75Matrix::getLEDTypes() {
11211125
{TYPE_HUB75MATRIX_PORTAL, "H", PSTR("HUB75 (Adafruit Matrix Portal)")},
11221126
{TYPE_HUB75MATRIX_MOONHUB, "H", PSTR("HUB75 (Moonhub T7 S3)")},
11231127
{TYPE_HUB75MATRIX_S3, "H", PSTR("HUB75 (S3 with PSRAM)")},
1128+
{TYPE_HUB75HD_WF2, "H", PSTR("HUB75 (Huidu HD-WF2)")},
11241129
#elif defined(CONFIG_IDF_TARGET_ESP32S2)
11251130
{TYPE_HUB75MATRIX_S2DRIVE, "H", PSTR("HUB75 (S2 Drive P4)")},
11261131
#elif defined(CONFIG_IDF_TARGET_ESP32)

wled00/bus_manager.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@ uint16_t approximateKelvinFromRGB(uint32_t rgb);
122122
#define TYPE_HUB75MATRIX_PORTAL 64 //Adafruit Matrix Portal S3 board (https://www.adafruit.com/product/5778)
123123
#define TYPE_HUB75MATRIX_MOONHUB 65 //MoonHub75 board
124124
#define TYPE_HUB75MATRIX_S3 66 //plain S3 Hub75 matrix board
125+
#define TYPE_HUB75HD_WF2 67 //Huidu HD-WF2 (S3 without PSRAM!!)
125126
#elif defined(CONFIG_IDF_TARGET_ESP32S2)
126127
#define TYPE_HUB75MATRIX_S2DRIVE 64 //S2 drive (https://www.ledclub.net/2025/03/15/esp32-s2-drive-p4-80x40-led-matrix/)
127128
#elif defined(CONFIG_IDF_TARGET_ESP32)

0 commit comments

Comments
 (0)