1 idf_component_register(SRCS comic24.c DefaultFont.c def_small.c DejaVuSans18.c DejaVuSans24.c minya24.c SmallFont.c tft.c tftspi.c tooney32.c Ubuntu16.c |
1 if (NOT IDF_VERSION_MAJOR) |
2 REQUIRES spidriver INCLUDE_DIRS .) |
2 set(IDF_VERSION_MAJOR 3) |
|
3 endif() |
|
4 |
|
5 if (IDF_VERSION_MAJOR LESS 5) |
|
6 message(FATAL_ERROR "Can't build: requires ESP-IDF version 5.0 or above.") |
|
7 endif() |
|
8 |
|
9 set(COMPONENT_ADD_INCLUDEDIRS .) |
|
10 set(COMPONENT_SRCS "comic24.c DefaultFont.c def_small.c DejaVuSans18.c DejaVuSans24.c minya24.c SmallFont.c tft.c tftspi.c tooney32.c Ubuntu16.c") |
|
11 set(COMPONENT_REQUIRES "soc" "driver" "esp_rom" "spidriver") |
|
12 register_component() |
|
13 |
|
14 #idf_component_register(SRCS comic24.c DefaultFont.c def_small.c DejaVuSans18.c DejaVuSans24.c minya24.c SmallFont.c tft.c tftspi.c tooney32.c Ubuntu16.c |
|
15 # REQUIRES spidriver INCLUDE_DIRS .) |