Tactiliest/app-esp/CMakeLists.txt
2024-11-07 23:17:26 +01:00

26 lines
488 B
CMake

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