diff options
| author | Yuxin Zhou <[email protected]> | 2022-07-26 02:04:40 +0000 |
|---|---|---|
| committer | Yuxin Zhou <[email protected]> | 2022-07-26 02:04:40 +0000 |
| commit | 8c3c08f10826c4d5332a6d8e2fdf014b793a456a (patch) | |
| tree | c6c2528d7901b11ec5173bdd0bc38339ab18288f /CMakeLists.txt | |
| parent | 54cda6ee9e68cd9701d759df13e3f6e41429b9bc (diff) | |
Release 6.1.12v6.1.12_rel
Diffstat (limited to 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index f931f6d4..05baf6c7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -31,8 +31,17 @@ endif() # Pick up the common stuff add_subdirectory(${CMAKE_CURRENT_LIST_DIR}/common) - - +# Define the FreeRTOS adaptation layer +add_library(freertos-threadx EXCLUDE_FROM_ALL) +target_include_directories(freertos-threadx + PUBLIC + ${CMAKE_CURRENT_LIST_DIR}/utility/rtos_compatibility_layers/FreeRTOS +) +target_sources(freertos-threadx + PRIVATE + ${CMAKE_CURRENT_LIST_DIR}/utility/rtos_compatibility_layers/FreeRTOS/tx_freertos.c +) +target_link_libraries(freertos-threadx PUBLIC threadx) # If the user provided an override, copy it to the custom directory if (NOT TX_USER_FILE) |
