aboutsummaryrefslogtreecommitdiff
path: root/lib/chibios-contrib/ext/mcux-sdk/components/codec/ak4497/driver_ak4497.cmake
blob: f4edcec65ffc5e2ae85caab1cf68a19e38053010 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
if(NOT DRIVER_AK4497_INCLUDED)

    set(DRIVER_AK4497_INCLUDED true CACHE BOOL "driver_ak4497 component is included.")

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

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


    include(driver_common)
    include(component_codec_i2c_MIMX8MM6)

endif()