Skip to content

Commit 3d12f0f

Browse files
committed
Merge remote-tracking branch 'upstream/mdev' into mdev
2 parents 015260c + fc173b3 commit 3d12f0f

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

platformio.ini

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -415,8 +415,8 @@ build_flags = -g
415415

416416
lib_deps =
417417
https://github.com/pbolduc/AsyncTCP.git @ 1.2.0
418-
makuna/NeoPixelBus @ 2.7.5
419-
;; makuna/NeoPixelBus @ 2.7.9 ;; experimental
418+
;; makuna/NeoPixelBus @ 2.7.5 ;; standard
419+
makuna/NeoPixelBus @ 2.7.9 ;; experimental - reduces LED glitches on -S2
420420
${env.lib_deps}
421421

422422
[esp32c3]
@@ -2487,6 +2487,7 @@ board_build.f_flash = 80000000L
24872487
board_build.flash_mode = qio
24882488

24892489
build_unflags = ${env:esp32S3_8MB_M.build_unflags} ;; use the same as "normal" S3 buildenv
2490+
-D ARDUINO_USB_CDC_ON_BOOT=1 ;; fix warning: "ARDUINO_USB_CDC_ON_BOOT" redefined; comment out for Serial debug
24902491
build_flags = ${common.build_flags} ${esp32s3.build_flags} -Wno-misleading-indentation -Wno-format-truncation
24912492
${common_mm.build_flags_S}
24922493
-D WLED_RELEASE_NAME=matrixportal_esp32s3

wled00/const.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@
253253
#define TYPE_NET_ARTNET_RGB 82 //network ArtNet RGB bus (master broadcast bus, unused)
254254
#define TYPE_NET_DDP_RGBW 88 //network DDP RGBW bus (master broadcast bus)
255255

256-
#define IS_DIGITAL(t) ((t) & 0x10) //digital are 16-31 and 48-63
256+
#define IS_DIGITAL(t) (((t) & 0x10) || ((t)==TYPE_HUB75MATRIX)) //digital are 16-31 and 48-63 // WLEDMM added HUB75
257257
#define IS_PWM(t) ((t) > 40 && (t) < 46)
258258
#define NUM_PWM_PINS(t) ((t) - 40) //for analog PWM 41-45 only
259259
#define IS_2PIN(t) ((t) > 47)

wled00/xml.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -269,9 +269,9 @@ void appendGPIOinfo() {
269269

270270
// add info about max. # of pins
271271
oappend(SET_F("d.max_gpio="));
272-
#if defined(ESP32)
272+
#if defined(ESP32) && !defined(CONFIG_IDF_TARGET_ESP32S3)
273273
oappendi(NUM_DIGITAL_PINS - 1);
274-
#else //8266
274+
#else //8266 (max=17), or esp32-S3 (max=48)
275275
oappendi(NUM_DIGITAL_PINS); //WLEDMM include pin 17 for Analog
276276
#endif
277277
oappend(SET_F(";"));

0 commit comments

Comments
 (0)