diff options
Diffstat (limited to 'lib/chibios-contrib/ext/mcux-sdk/components/codec/ak4497/driver_ak4497.cmake')
-rw-r--r-- | lib/chibios-contrib/ext/mcux-sdk/components/codec/ak4497/driver_ak4497.cmake | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/lib/chibios-contrib/ext/mcux-sdk/components/codec/ak4497/driver_ak4497.cmake b/lib/chibios-contrib/ext/mcux-sdk/components/codec/ak4497/driver_ak4497.cmake new file mode 100644 index 000000000..f4edcec65 --- /dev/null +++ b/lib/chibios-contrib/ext/mcux-sdk/components/codec/ak4497/driver_ak4497.cmake | |||
@@ -0,0 +1,17 @@ | |||
1 | if(NOT DRIVER_AK4497_INCLUDED) | ||
2 | |||
3 | set(DRIVER_AK4497_INCLUDED true CACHE BOOL "driver_ak4497 component is included.") | ||
4 | |||
5 | target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE | ||
6 | ${CMAKE_CURRENT_LIST_DIR}/fsl_ak4497.c | ||
7 | ) | ||
8 | |||
9 | target_include_directories(${MCUX_SDK_PROJECT_NAME} PRIVATE | ||
10 | ${CMAKE_CURRENT_LIST_DIR}/. | ||
11 | ) | ||
12 | |||
13 | |||
14 | include(driver_common) | ||
15 | include(component_codec_i2c_MIMX8MM6) | ||
16 | |||
17 | endif() \ No newline at end of file | ||