aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 = .