mirror of
https://github.com/ByteWelder/Tactility.git
synced 2026-02-18 10:53:17 +00:00
* **New Features** * Time and delay utilities added (ticks, ms, µs); SD card now uses an expansion-header CS pin; HTTP downloads warn when run on the GUI task and yield to avoid blocking. * **Bug Fixes / Reliability** * Many hard-crash paths converted to guarded checks to reduce abrupt termination and improve stability. * **Tests** * Unit tests added to validate time and delay accuracy. * **Chores** * License header and build/macro updates.
27 lines
547 B
CMake
27 lines
547 B
CMake
project(TactilityCoreTests)
|
|
|
|
enable_language(C CXX ASM)
|
|
|
|
set(CMAKE_CXX_COMPILER g++)
|
|
|
|
file(GLOB_RECURSE TEST_SOURCES ${PROJECT_SOURCE_DIR}/*.cpp)
|
|
add_executable(TactilityCoreTests EXCLUDE_FROM_ALL ${TEST_SOURCES})
|
|
|
|
add_definitions(-D_Nullable=)
|
|
add_definitions(-D_Nonnull=)
|
|
|
|
target_include_directories(TactilityCoreTests PRIVATE
|
|
${DOCTESTINC}
|
|
)
|
|
|
|
add_test(NAME TactilityCoreTests
|
|
COMMAND TactilityCoreTests
|
|
)
|
|
|
|
target_link_libraries(TactilityCoreTests PUBLIC
|
|
TactilityCore
|
|
TactilityKernel
|
|
TactilityFreeRtos
|
|
freertos_kernel
|
|
)
|