~aleteoryx/muditaos

ref: 6404e0983fff365e789a03141538c0c126c5927b muditaos/third-party/freeRTOS-kernel/CMakeLists.txt -rw-r--r-- 447 bytes
6404e098 — Adam Wulkiewicz [MOS-586] Crash of simulator in Settings->Phone Modes 3 years ago
                                                                                
1
2
3
4
5
6
7
8
9
add_subdirectory(freeRTOS-kernel)

if (${CMAKE_BUILD_TYPE} STREQUAL "RelWithDebInfo")
    set_source_files_properties(${CMAKE_CURRENT_SOURCE_DIR}/freeRTOS-kernel/portable/MemMang/heap_4.c PROPERTIES COMPILE_OPTIONS "-O0")
endif ()

# freertos-app contains definitions of vApplicationHooks*
# module-bsp::os contains FreeRTOS configuration and definitions of board-specific timers
target_link_libraries(freertos_kernel freertos-app module-bsp::os)