* improvements for cross-platform compiling * moved tactility-core to libs/ * splitup improvements * remove git/gitmodules from freertos * better platformbetter platform checks * added build scripts * delete mbedtls * re-add mbedtls * fixes and improvements * added pc build * simplify build scripts * revert build scrpit * updated builds * fix for pc * fix for pc * fix for build
20 lines
391 B
CMake
20 lines
391 B
CMake
cmake_minimum_required(VERSION 3.16)
|
|
|
|
set(BOARD_COMPONENTS tactility)
|
|
|
|
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)
|
|
endif()
|
|
|
|
idf_component_register(
|
|
SRC_DIRS "src"
|
|
"src/hello_world"
|
|
REQUIRES ${BOARD_COMPONENTS}
|
|
)
|
|
|