Skip to content

Commit 41a4d9f

Browse files
committed
Local LEDs on the ESP32-P4 (thanks Makuna!!!)
1 parent 9754498 commit 41a4d9f

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

wled00/bus_wrapper.h

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@
1717
#define WLED_NO_I2S1_PIXELBUS
1818
#endif
1919

20-
#if !defined(WLED_NO_RMT_PIXELBUS) && (defined(CONFIG_IDF_TARGET_ESP32C6) || defined(CONFIG_IDF_TARGET_ESP32P4)) // NPB only supports BitBang on -C6 at the moment
21-
#define WLED_NO_RMT_PIXELBUS
22-
#endif
20+
// #if !defined(WLED_NO_RMT_PIXELBUS) && (defined(CONFIG_IDF_TARGET_ESP32C6) || defined(CONFIG_IDF_TARGET_ESP32P4)) // NPB only supports BitBang on -C6 at the moment
21+
// #define WLED_NO_RMT_PIXELBUS
22+
// #endif
2323

2424
// temporary end
2525

@@ -194,7 +194,7 @@ bool canUseSerial(void); // WLEDMM (wled_serial.cpp) returns true if Serial ca
194194
#if defined(WLED_NO_RMT_PIXELBUS)
195195
#define B_32_RN_NEO_3 NeoPixelBusLg<NeoGrbFeature, NeoEsp32BitBangWs2812xMethod, NeoGammaNullMethod>
196196
#else
197-
#define B_32_RN_NEO_3 NeoPixelBusLg<NeoGrbFeature, NeoEsp32RmtNWs2812xMethod, NeoGammaNullMethod>
197+
#define B_32_RN_NEO_3 NeoPixelBusLg<NeoGrbFeature, NeoEsp32RmtXWs2812xMethod, NeoGammaNullMethod>
198198
#endif
199199
#ifndef WLED_NO_I2S0_PIXELBUS
200200
#define B_32_I0_NEO_3 NeoPixelBusLg<NeoGrbFeature, NeoEsp32I2s0800KbpsMethod, NeoGammaNullMethod>
@@ -207,7 +207,7 @@ bool canUseSerial(void); // WLEDMM (wled_serial.cpp) returns true if Serial ca
207207
#if defined(WLED_NO_RMT_PIXELBUS)
208208
#define B_32_RN_NEO_4 NeoPixelBusLg<NeoGrbwFeature, NeoEsp32BitBangWs2812xMethod, NeoGammaNullMethod>
209209
#else
210-
#define B_32_RN_NEO_4 NeoPixelBusLg<NeoGrbwFeature, NeoEsp32RmtNWs2812xMethod, NeoGammaNullMethod>
210+
#define B_32_RN_NEO_4 NeoPixelBusLg<NeoGrbwFeature, NeoEsp32RmtXWs2812xMethod, NeoGammaNullMethod>
211211
#endif
212212
#ifndef WLED_NO_I2S0_PIXELBUS
213213
#define B_32_I0_NEO_4 NeoPixelBusLg<NeoGrbwFeature, NeoEsp32I2s0800KbpsMethod, NeoGammaNullMethod>
@@ -220,7 +220,7 @@ bool canUseSerial(void); // WLEDMM (wled_serial.cpp) returns true if Serial ca
220220
#if defined(WLED_NO_RMT_PIXELBUS)
221221
#define B_32_RN_400_3 NeoPixelBusLg<NeoGrbFeature, NeoEsp32BitBang400KbpsMethod, NeoGammaNullMethod>
222222
#else
223-
#define B_32_RN_400_3 NeoPixelBusLg<NeoGrbFeature, NeoEsp32RmtN400KbpsMethod, NeoGammaNullMethod>
223+
#define B_32_RN_400_3 NeoPixelBusLg<NeoGrbFeature, NeoEsp32RmtX400KbpsMethod, NeoGammaNullMethod>
224224
#endif
225225
#ifndef WLED_NO_I2S0_PIXELBUS
226226
#define B_32_I0_400_3 NeoPixelBusLg<NeoGrbFeature, NeoEsp32I2s0400KbpsMethod, NeoGammaNullMethod>
@@ -233,7 +233,7 @@ bool canUseSerial(void); // WLEDMM (wled_serial.cpp) returns true if Serial ca
233233
#if defined(WLED_NO_RMT_PIXELBUS)
234234
#define B_32_RN_TM1_4 NeoPixelBusLg<NeoWrgbTm1814Feature, NeoEsp32BitBangTm1814Method, NeoGammaNullMethod>
235235
#else
236-
#define B_32_RN_TM1_4 NeoPixelBusLg<NeoWrgbTm1814Feature, NeoEsp32RmtNTm1814Method, NeoGammaNullMethod>
236+
#define B_32_RN_TM1_4 NeoPixelBusLg<NeoWrgbTm1814Feature, NeoEsp32RmtXTm1814Method, NeoGammaNullMethod>
237237
#endif
238238
#ifndef WLED_NO_I2S0_PIXELBUS
239239
#define B_32_I0_TM1_4 NeoPixelBusLg<NeoWrgbTm1814Feature, NeoEsp32I2s0Tm1814Method, NeoGammaNullMethod>
@@ -246,7 +246,7 @@ bool canUseSerial(void); // WLEDMM (wled_serial.cpp) returns true if Serial ca
246246
#if defined(WLED_NO_RMT_PIXELBUS)
247247
#define B_32_RN_TM2_3 NeoPixelBusLg<NeoBrgFeature, NeoEsp32BitBangTm1829Method, NeoGammaNullMethod>
248248
#else
249-
#define B_32_RN_TM2_3 NeoPixelBusLg<NeoBrgFeature, NeoEsp32RmtNTm1829Method, NeoGammaNullMethod>
249+
#define B_32_RN_TM2_3 NeoPixelBusLg<NeoBrgFeature, NeoEsp32RmtXTm1829Method, NeoGammaNullMethod>
250250
#endif
251251
#ifndef WLED_NO_I2S0_PIXELBUS
252252
#define B_32_I0_TM2_3 NeoPixelBusLg<NeoBrgFeature, NeoEsp32I2s0Tm1829Method, NeoGammaNullMethod>
@@ -259,7 +259,7 @@ bool canUseSerial(void); // WLEDMM (wled_serial.cpp) returns true if Serial ca
259259
#if defined(WLED_NO_RMT_PIXELBUS)
260260
#define B_32_RN_UCS_3 NeoPixelBusLg<NeoRgbUcs8903Feature, NeoEsp32BitBangWs2812xMethod, NeoGammaNullMethod>
261261
#else
262-
#define B_32_RN_UCS_3 NeoPixelBusLg<NeoRgbUcs8903Feature, NeoEsp32RmtNWs2812xMethod, NeoGammaNullMethod>
262+
#define B_32_RN_UCS_3 NeoPixelBusLg<NeoRgbUcs8903Feature, NeoEsp32RmtXWs2812xMethod, NeoGammaNullMethod>
263263
#endif
264264
#ifndef WLED_NO_I2S0_PIXELBUS
265265
#define B_32_I0_UCS_3 NeoPixelBusLg<NeoRgbUcs8903Feature, NeoEsp32I2s0800KbpsMethod, NeoGammaNullMethod>
@@ -272,7 +272,7 @@ bool canUseSerial(void); // WLEDMM (wled_serial.cpp) returns true if Serial ca
272272
#if defined(WLED_NO_RMT_PIXELBUS)
273273
#define B_32_RN_UCS_4 NeoPixelBusLg<NeoRgbwUcs8904Feature, NeoEsp32BitBangWs2812xMethod, NeoGammaNullMethod>
274274
#else
275-
#define B_32_RN_UCS_4 NeoPixelBusLg<NeoRgbwUcs8904Feature, NeoEsp32RmtNWs2812xMethod, NeoGammaNullMethod>
275+
#define B_32_RN_UCS_4 NeoPixelBusLg<NeoRgbwUcs8904Feature, NeoEsp32RmtXWs2812xMethod, NeoGammaNullMethod>
276276
#endif
277277
#ifndef WLED_NO_I2S0_PIXELBUS
278278
#define B_32_I0_UCS_4 NeoPixelBusLg<NeoRgbwUcs8904Feature, NeoEsp32I2s0800KbpsMethod, NeoGammaNullMethod>

wled00/data/settings_leds.htm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -399,8 +399,8 @@
399399
<hr class="sml">
400400
${i+1}:
401401
<select name="LT${i}" onchange="UI(true)">${i>=maxB ? '' :
402-
'<!-- <option value="22">WS281x</option>\
403-
<option value="30">SK6812/WS2814 RGBW</option>\
402+
'<option value="22">WS281x</option>\
403+
<!-- <option value="30">SK6812/WS2814 RGBW</option>\
404404
<option value="31">TM1814</option>\
405405
<option value="24">400kHz</option>\
406406
<option value="25">TM1829</option>\

0 commit comments

Comments
 (0)