mirror of
https://github.com/ByteWelder/Tactility.git
synced 2026-02-18 19:03:16 +00:00
* 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
24 lines
533 B
CMake
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)
|
|
|