Add project as ESP-IDF component files

This makes it possible to build ESP32-HUB75-MatrixPanel-I2S-DMA as an ESP-IDF component :)
This commit is contained in:
Sol Huebner 2022-01-04 05:31:44 -05:00 committed by GitHub
parent 2fe19b0cbe
commit 5f3e7e3e51
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 0 deletions

11
CMakeLists.txt Normal file
View file

@ -0,0 +1,11 @@
# HUB75 RGB LED matrix library utilizing ESP32 DMA Engine
# https://github.com/mrfaptastic/ESP32-HUB75-MatrixPanel-I2S-DMA
# MIT License
cmake_minimum_required(VERSION 3.5)
idf_component_register(SRCS "esp32_i2s_parallel_dma.c" "ESP32-HUB75-MatrixPanel-I2S-DMA.cpp" "ESP32-HUB75-MatrixPanel-leddrivers.cpp"
INCLUDE_DIRS "."
REQUIRES arduino)
project(ESP32-HUB75-MatrixPanel-I2S-DMA)

1
component.mk Normal file
View file

@ -0,0 +1 @@
COMPONENT_ADD_INCLUDEDIRS = .