Tactility modules refactored (#13)

* refactor modules

* moved esp_lvgl_port to libs/

* added missing file

* fix for sim build

* various sim/pc fixes

* lvgl improvements

* added missing cmake files
This commit is contained in:
Ken Van Hoeylandt
2024-01-20 14:10:19 +01:00
committed by GitHub
parent a94baf0d00
commit 6bd65abbb4
1317 changed files with 388085 additions and 626 deletions
+12 -5
View File
@@ -2,14 +2,19 @@ cmake_minimum_required(VERSION 3.16)
add_definitions(-DTT_DEBUG)
if (DEFINED ENV{ESP_IDF_VERSION})
if (ESP_PLATFORM)
message("Building with ESP-IDF v$ENV{ESP_IDF_VERSION}")
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
add_definitions(-DESP_TARGET)
set(COMPONENTS app-esp tactility tactility-data)
set(EXTRA_COMPONENT_DIRS "boards" "components" "app-esp")
set(COMPONENTS app-esp)
set(EXTRA_COMPONENT_DIRS
"boards"
"tactility-esp"
"app-esp"
"libs/esp_lvgl_port"
"libs/lvgl"
)
# Yellow Board only runs on ESP32
if(NOT "${IDF_TARGET}" STREQUAL "esp32")
@@ -27,9 +32,11 @@ endif()
project(tactility-root)
add_subdirectory(libs/mlib)
add_subdirectory(tactility)
add_subdirectory(tactility-core)
if (NOT IDF_TARGET)
if (NOT ESP_PLATFORM)
add_subdirectory(libs/lvgl) # Added as idf component for ESP and as library for other targets
add_subdirectory(libs/freertos-kernel)
add_subdirectory(libs/mbedtls)
add_subdirectory(app-sim)