Closed sascha-schieferdecker closed 2 years ago
Well, for anyone else stumbling across this problem, I could get a build if not using FASTLED 3.4.0, but 3.3.3.
I modified the platformio.ini like this:
lib_deps =
SPI
https://github.com/TheDIYGuy999/statusLED
https://github.com/TheDIYGuy999/SBUS
https://github.com/TheDIYGuy999/rcTrigger
https://github.com/bmellink/IBusBM
https://github.com/Bodmer/TFT_eSPI
https://github.com/FastLED/FastLED/archive/refs/tags/3.3.3.tar.gz
Maybe the platformio.ino should have some version pinning in the lib_deps, so that only working versions are provided as dependency.
The issue can be closed.
I added it in platformio.ini, but for me 3.4.0 is working as well
Problem seem to be related to FASTLED and fastpin:
define _FL_DEFPIN(PIN) template <> class FastPin : public _ESPPIN<PIN, ((uint32_t)1 << (PIN % 32)), _FL_PIN_VALID(PIN)> {};
.pio\libdeps\esp32dev\FastLED\src/platforms/esp/32/fastpin_esp32.h:154:17: note: in expansion of macro '_FL_DEFPIN' _FL_DEFPIN(56); _FL_DEFPIN(57); _FL_DEFPIN(58); _FL_DEFPIN(59); ^ .pio\libdeps\esp32dev\FastLED\src\platforms/esp/32/fastpin_esp32.h:136:125: error: template argument 3 is invalid
define _FL_DEFPIN(PIN) template <> class FastPin : public _ESPPIN<PIN, ((uint32_t)1 << (PIN % 32)), _FL_PIN_VALID(PIN)> {};
....
There are many more compiler errors like that. Is this a known problem?