components/tft/CMakeLists.txt

Wed, 26 Jun 2024 21:48:49 +0200

author
Michiel Broek <mbroek@mbse.eu>
date
Wed, 26 Jun 2024 21:48:49 +0200
branch
idf 5.1
changeset 136
89fc3c57282e
parent 129
31f9d3e4a85f
permissions
-rw-r--r--

Reverted gpio_pad_select_gpio() calls, added the correct include. Starting the unit works better now. Reverted some other small changes. In some parts the controller is very slow, possible spiffs issue?

if (NOT IDF_VERSION_MAJOR)
  set(IDF_VERSION_MAJOR 3)
endif()

if (IDF_VERSION_MAJOR LESS 5)
    message(FATAL_ERROR "Can't build: requires ESP-IDF version 5.0 or above.")
endif()

set(COMPONENT_ADD_INCLUDEDIRS .)
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")
set(COMPONENT_REQUIRES "soc" "driver" "esp_rom" "spidriver")
register_component()

#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
#	REQUIRES spidriver INCLUDE_DIRS .)

mercurial