Skip to content

newer FastLED (v3.6.x / dev) creates compile errors on ESP32 #11

@Klaus-Michael

Description

@Klaus-Michael

When trying to compile with vs Code and platformio I'm getting the following errors:

.pio/libdeps/astropixelsplus/FastLED/src/fl/isr.cpp: In function 'int fl::isr::attachTimerHandler(const fl::isr::isr_config_t&, fl::isr::isr_handle_t*)':
.pio/libdeps/astropixelsplus/FastLED/src/fl/isr.cpp:26:17: error: 'fl::isr::platform' has not been declared
     return isr::platform::attach_timer_handler(config, handle);
                 ^~~~~~~~
.pio/libdeps/astropixelsplus/FastLED/src/fl/isr.cpp: In function 'int fl::isr::attachExternalHandler(uint8_t, const fl::isr::isr_config_t&, fl::isr::isr_handle_t*)':
.pio/libdeps/astropixelsplus/FastLED/src/fl/isr.cpp:30:17: error: 'fl::isr::platform' has not been declared
     return isr::platform::attach_external_handler(pin, config, handle);
                 ^~~~~~~~
.pio/libdeps/astropixelsplus/FastLED/src/fl/isr.cpp: In function 'int fl::isr::detachHandler(fl::isr::isr_handle_t&)':
.pio/libdeps/astropixelsplus/FastLED/src/fl/isr.cpp:34:17: error: 'fl::isr::platform' has not been declared
     return isr::platform::detach_handler(handle);
                 ^~~~~~~~
.pio/libdeps/astropixelsplus/FastLED/src/fl/isr.cpp: In function 'int fl::isr::enableHandler(fl::isr::isr_handle_t&)':
.pio/libdeps/astropixelsplus/FastLED/src/fl/isr.cpp:38:17: error: 'fl::isr::platform' has not been declared
     return isr::platform::enable_handler(handle);

This seems to be an issue with the current FastLED (v3.6.x / dev) which seems to be missing some implementations for ESP32
Pinning FastLED to version 3.5.0 solves the issue.

replace
https://github.com/FastLED/FastLED
with
fastled/[email protected]

in platformio.ini solves the issue for me

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions