Tactility SDK and release build scripting (#122)

* Implement release scripting and SDK building process
* Fix for CYD display colors
* Various improvements and fixes
* Made build scripts more modular
This commit is contained in:
Ken Van Hoeylandt
2024-12-14 21:50:02 +01:00
committed by GitHub
parent 43714b2355
commit a18221db08
22 changed files with 324 additions and 53 deletions
+10 -11
View File
@@ -1,17 +1,16 @@
cmake_minimum_required(VERSION 3.20)
set(TACTILITY_SKIP_SPIFFS 1)
add_definitions(-DESP_TARGET)
add_compile_definitions(ESP_TARGET)
add_definitions(-DLV_CONF_PATH=../../../Boards/Simulator/Source/lv_conf.h)
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
set(EXTRA_COMPONENT_DIRS "../../Libraries/elf_loader")
if (DEFINED ENV{TACTILITY_SDK_PATH})
set(TACTILITY_SDK_PATH $ENV{TACTILITY_SDK_PATH})
else()
set(TACTILITY_SDK_PATH "../../release/TactilitySDK")
message(WARNING "⚠️ TACTILITY_SDK_PATH environment variable is not set, defaulting to ${TACTILITY_PATH}")
endif()
include("${TACTILITY_SDK_PATH}/TactilitySDK.cmake")
set(EXTRA_COMPONENT_DIRS ${TACTILITY_SDK_PATH})
project(HelloWorld)
include(elf_loader)
project_elf(HelloWorld)
tactility_project(HelloWorld)