Merge pull request #235 from solhuebner/patch-2
Added examples for compile time options (ESP-IDF)
This commit is contained in:
commit
e15aab6813
1 changed files with 14 additions and 0 deletions
|
@ -8,4 +8,18 @@ idf_component_register(SRCS "esp32_i2s_parallel_dma.c" "ESP32-HUB75-MatrixPanel-
|
||||||
INCLUDE_DIRS "."
|
INCLUDE_DIRS "."
|
||||||
REQUIRES arduino)
|
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)
|
project(ESP32-HUB75-MatrixPanel-I2S-DMA)
|
||||||
|
|
Loading…
Reference in a new issue