Add FastLED as ESP-IDF component support

Enables FastLED as ESP-IDF component support (with Arduino as component)
This commit is contained in:
Sol Huebner 2022-01-15 19:22:21 -05:00 committed by GitHub
parent 4d73cddfe4
commit 489baaba55
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

24
CMakeLists.txt Normal file
View File

@ -0,0 +1,24 @@
# FastLED
# https://github.com/FastLED/FastLED
# MIT License
cmake_minimum_required(VERSION 3.5)
set(FastLED_SRCS
src/bitswap.cpp
src/colorpalettes.cpp
src/colorutils.cpp
src/FastLED.cpp
src/hsv2rgb.cpp
src/lib8tion.cpp
src/noise.cpp
src/platforms.cpp
src/power_mgt.cpp
src/wiring.cpp
)
idf_component_register(SRCS ${FastLED_SRCS}
INCLUDE_DIRS "src"
REQUIRES arduino)
project(FastLED)