Mon, 24 Jun 2024 17:05:20 +0200
Start migration to IDF 5.1
129 | 1 | if (NOT IDF_VERSION_MAJOR) |
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 .) |