Tactility/app-esp/CMakeLists.txt
Ken Van Hoeylandt 14eb43211d
Support for Waveshare S3 Touch LCD 4.3 (#18)
* initial changes for waveshare s3 touch support

* fix lvgl locking

* fix for lvgl locking

* cleaned up dependencies

* boards now depend on tactility instead of tactility-esp

* revert deletion

* remove component

* working touch&display driver

* added waveshare to github actions

* cleanup

* fix for driver

* fix for sim build

* build fixes

* updated docs

* updated docs

* attempt new sdl2 github action

* revert

* fixes for clion/cmdline build

environment wasn't parsed properly

* temporarily disable pc sim build
2024-01-26 21:36:21 +01:00

24 lines
533 B
CMake

cmake_minimum_required(VERSION 3.16)
set(BOARD_COMPONENTS tactility-esp)
if("${IDF_TARGET}" STREQUAL "esp32")
list(APPEND BOARD_COMPONENTS yellow_board)
endif()
# T-Deck is an S3 platform
if("${IDF_TARGET}" STREQUAL "esp32s3")
list(APPEND BOARD_COMPONENTS lilygo_tdeck)
list(APPEND BOARD_COMPONENTS waveshare_s3_touch)
endif()
idf_component_register(
SRC_DIRS "src"
"src/hello_world"
REQUIRES ${BOARD_COMPONENTS}
)
# TODO Remove?
target_link_libraries(${COMPONENT_LIB} ${IDF_TARGET_NAME} tactility)