From 04b55a5f2a4103a2466976a8aa147469d4cbfb9d Mon Sep 17 00:00:00 2001 From: Frank Date: Sun, 7 May 2023 21:26:51 +0200 Subject: [PATCH] back to NeoPixelBus @ 2.7.1 due to build errors on some esp32 envs. Build Environments (esp32_16MB_M_eth) In file included from wled00/bus_manager.cpp:9:0: wled00/bus_wrapper.h: In static member function 'static void PolyBus::begin(void*, uint8_t, uint8_t*)': wled00/bus_wrapper.h:187:61: error: 'DotStarEsp32DmaHspi5MhzMethod' was not declared in this scope #define B_HS_DOT_3 NeoPixelBrightnessBus //hardware HSPI with DMA (ESP32 only) ^ wled00/bus_wrapper.h:300:37: note: in expansion of macro 'B_HS_DOT_3' case I_HS_DOT_3: (static_cast(busPtr))->Begin(pins[1], -1, pins[0], -1); break; ^ wled00/bus_wrapper.h:187:90: error: template argument 2 is invalid #define B_HS_DOT_3 NeoPixelBrightnessBus //hardware HSPI with DMA (ESP32 only) In file included from wled00/bus_manager.cpp:9:0: wled00/bus_wrapper.h: In static member function 'static void PolyBus::begin(void*, uint8_t, uint8_t*)': wled00/bus_wrapper.h:187:61: error: 'DotStarEsp32DmaHspi5MhzMethod' was not declared in this scope #define B_HS_DOT_3 NeoPixelBrightnessBus //hardware HSPI with DMA (ESP32 only) ^ wled00/bus_wrapper.h:300:37: note: in expansion of macro 'B_HS_DOT_3' case I_HS_DOT_3: (static_cast(busPtr))->Begin(pins[1], -1, pins[0], -1); break; ^ wled00/bus_wrapper.h:187:90: error: template argument 2 is invalid #define B_HS_DOT_3 NeoPixelBrightnessBus //hardware HSPI with DMA (ESP32 only) --- platformio.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platformio.ini b/platformio.ini index 48d826dd..58a4a677 100644 --- a/platformio.ini +++ b/platformio.ini @@ -271,7 +271,7 @@ lib_deps = ; WLEDMM specific: use patched version of lorol LittleFS https://github.com/softhack007/LITTLEFS-threadsafe.git#master ;;makuna/NeoPixelBus @ 2.6.9 ;; WLEDMM default - makuna/NeoPixelBus @ 2.7.3 + makuna/NeoPixelBus @ 2.7.1 ${env.lib_deps} ;; ** For compiling with latest Frameworks (IDF4.4.x and arduino-esp32 v2.0.x) **