diff options
| author | mrfaptastic <12006953+mrfaptastic@users.noreply.github.com> | 2022-01-09 21:55:55 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-01-09 21:55:55 +0000 |
| commit | e15aab68138648fcc16d6ff4386a74b3d4030b27 (patch) | |
| tree | 225cfbf36f10e02e0694767c910bcf92ae76dede | |
| parent | 185cb2289332a56bbbdbf06fb9e3c7683e15652a (diff) | |
| parent | 4994279f754293b7a186eac76e96f698e07f40ae (diff) | |
Merge pull request #235 from solhuebner/patch-2
Added examples for compile time options (ESP-IDF)
| -rw-r--r-- | CMakeLists.txt | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index fa81dd0..0b569aa 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -8,4 +8,18 @@ idf_component_register(SRCS "esp32_i2s_parallel_dma.c" "ESP32-HUB75-MatrixPanel- INCLUDE_DIRS "."
REQUIRES arduino)
+# In case you are running into issues with "missing" header files from 3rd party libraries like "Adafruit_GFX.h"
+# you can add them to the REQUIRES section above (depending on how you added the library as component!) like
+# REQUIRES arduino Adafruit-GFX-Library)
+
+# Example to build with USE_GFX_ROOT or NO_GFX / just uncomment the appropriate line
+# target_compile_options(${COMPONENT_TARGET} PUBLIC -DUSE_GFX_ROOT)
+# target_compile_options(${COMPONENT_TARGET} PUBLIC -DNO_GFX)
+
+# You can also use multiple options like this
+# target_compile_options(${COMPONENT_TARGET} PUBLIC -DNO_GFX -DNO_FAST_FUNCTIONS)
+
+# All options can be found here:
+# https://github.com/mrfaptastic/ESP32-HUB75-MatrixPanel-I2S-DMA/blob/master/doc/BuildOptions.md
+
project(ESP32-HUB75-MatrixPanel-I2S-DMA)
|
