aboutsummaryrefslogtreecommitdiff
path: root/lib/chibios-contrib/ext/mcux-sdk/devices/MIMXRT1052/drivers/driver_clock.cmake
blob: 154d6a23ae702b5ae139c9878daeaaaad37aecca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
if(NOT DRIVER_CLOCK_INCLUDED)

    set(DRIVER_CLOCK_INCLUDED true CACHE BOOL "driver_clock component is included.")

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

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


    include(driver_common)

endif()