aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormrfaptastic <12006953+mrfaptastic@users.noreply.github.com>2022-01-04 10:35:30 +0000
committerGitHub <noreply@github.com>2022-01-04 10:35:30 +0000
commit99908f203d92c7fd350239ec241dfa89b73197e9 (patch)
tree112f20792ad60f9fe078444633557a8ba67e838f
parent2fe19b0cbe41f7330dc82b6962e6459da71892c6 (diff)
parent5f3e7e3e517b249cf3080ca6943cf49bdf2d1e2b (diff)
Merge pull request #230 from solhuebner/solhuebner-ESP-IDF
Add project as ESP-IDF component files
-rw-r--r--CMakeLists.txt11
-rw-r--r--component.mk1
2 files changed, 12 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
new file mode 100644
index 0000000..fa81dd0
--- /dev/null
+++ b/CMakeLists.txt
@@ -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)
diff --git a/component.mk b/component.mk
new file mode 100644
index 0000000..049f190
--- /dev/null
+++ b/component.mk
@@ -0,0 +1 @@
+COMPONENT_ADD_INCLUDEDIRS = .