Skip to content

Commit 8678eba

Browse files
committed
Enable CSP FreeRTOS build for cmake
1 parent 3cb0eb4 commit 8678eba

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

CMakeLists.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
cmake_minimum_required(VERSION 3.20)
2+
3+
set(CMAKE_SYSTEM_NAME Generic)
4+
25
project(libcsp-freertos)
36

47
if(NOT DEFINED FREERTOS_PORT)
@@ -17,6 +20,8 @@ target_include_directories(freertos_config SYSTEM
1720
INTERFACE ${CMAKE_CURRENT_SOURCE_DIR})
1821

1922
add_subdirectory(freertos)
23+
24+
set(CSP_KERNEL_NAME freertos)
2025
add_subdirectory(subprojects/libcsp)
2126

2227
target_link_libraries(demo PRIVATE

0 commit comments

Comments
 (0)