~aleteoryx/muditaos

ref: 2f4976e505ecd91c54d089996976bc761295be44 muditaos/third-party/freeRTOS-kernel/CMakeLists.txt -rw-r--r-- 447 bytes
2f4976e5 — Maciej-Mudita [MOS-159] Fix broken text on the PIN input screen 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)