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