aboutsummaryrefslogtreecommitdiff
path: root/lib/chibios-contrib/ext/mcux-sdk/components/serial_manager/component_serial_manager_MKV31F51212.cmake
blob: 4ac300587970a220c7e7f3bf3595b691ee236d5b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
if(NOT COMPONENT_SERIAL_MANAGER_MKV31F51212_INCLUDED)

    set(COMPONENT_SERIAL_MANAGER_MKV31F51212_INCLUDED true CACHE BOOL "component_serial_manager component is included.")

    target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
        ${CMAKE_CURRENT_LIST_DIR}/fsl_component_serial_manager.c
    )

    target_include_directories(${MCUX_SDK_PROJECT_NAME} PRIVATE
        ${CMAKE_CURRENT_LIST_DIR}/.
    )

    #OR Logic component
    if(CONFIG_USE_component_serial_manager_uart_MKV31F51212) 
        include(component_serial_manager_uart_MKV31F51212)
    endif()

    include(driver_common)
    include(component_lists)

endif()