Skip to content

Commit 79c26db

Browse files
committed
MM-specific handling of PICO reserved pins
this complements the previous commit
1 parent b4aa6a1 commit 79c26db

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

wled00/wled.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -629,7 +629,8 @@ void WLED::setup()
629629
#endif
630630
#endif
631631
#if defined(ARDUINO_ARCH_ESP32)
632-
if (strncmp("ESP32-PICO", ESP.getChipModel(), 10) == 0) { // WLEDMM detect pico board at runtime
632+
if ((strncmp("ESP32-PICO", ESP.getChipModel(), 10) == 0) || (strncmp("ESP32-U4WDH", ESP.getChipModel(), 11) == 0))
633+
{ // WLEDMM detect pico board and esp32-mini1 board at runtime
633634
// special handling for PICO-D4: gpio16+17 are in use for onboard SPI FLASH (not PSRAM)
634635
managed_pin_type pins[] = { {16, true}, {17, true} };
635636
pinManager.allocateMultiplePins(pins, sizeof(pins)/sizeof(managed_pin_type), PinOwner::SPI_RAM);

wled00/wled.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*/
88

99
// version code in format yymmddb (b = daily build)
10-
#define VERSION 2501030
10+
#define VERSION 2501070
1111

1212
// WLEDMM - you can check for this define in usermods, to only enabled WLEDMM specific code in the "right" fork. Its not defined in AC WLED.
1313
#define _MoonModules_WLED_

0 commit comments

Comments
 (0)