~aleteoryx/muditaos

ref: master muditaos/third-party/freeRTOS-kernel/CMakeLists.txt -rw-r--r-- 447 bytes
2cd0e472 — Lefucjusz [BH-000] Update Harmony 2.10.0 changelog 2 months 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)