Merge pull request #1352 from solhuebner/patch-2

Add FastLED as ESP-IDF component support
This commit is contained in:
Mark Kriegsman 2023-05-29 11:44:36 -04:00 committed by GitHub
commit 96a148a620
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

25
CMakeLists.txt Normal file
View File

@ -0,0 +1,25 @@
# 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
src/platforms/esp/32/clockless_rmt_esp32.cpp
)
idf_component_register(SRCS ${FastLED_SRCS}
INCLUDE_DIRS "src"
REQUIRES arduino)
project(FastLED)