Skip to content

Commit 1ba52b1

Browse files
committed
Enable CSP FreeRTOS build for cmake
Set CMAKE_SYSTEM_NAME to Generic and CSP_SYSTEM_NAME to freertos as required by libcsp.
1 parent 3cb0eb4 commit 1ba52b1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

CMakeLists.txt

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

48
if(NOT DEFINED FREERTOS_PORT)

0 commit comments

Comments
 (0)