diff options
Diffstat (limited to 'lib/chibios-contrib/ext/mcux-sdk/components/codec/driver_codec_MIMXRT685S_cm33.cmake')
-rw-r--r-- | lib/chibios-contrib/ext/mcux-sdk/components/codec/driver_codec_MIMXRT685S_cm33.cmake | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/lib/chibios-contrib/ext/mcux-sdk/components/codec/driver_codec_MIMXRT685S_cm33.cmake b/lib/chibios-contrib/ext/mcux-sdk/components/codec/driver_codec_MIMXRT685S_cm33.cmake new file mode 100644 index 000000000..3e7d6718f --- /dev/null +++ b/lib/chibios-contrib/ext/mcux-sdk/components/codec/driver_codec_MIMXRT685S_cm33.cmake | |||
@@ -0,0 +1,26 @@ | |||
1 | if(NOT DRIVER_CODEC_MIMXRT685S_CM33_INCLUDED) | ||
2 | |||
3 | set(DRIVER_CODEC_MIMXRT685S_CM33_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_wm8904_adapter) | ||
15 | include(component_wm8904_adapter) | ||
16 | endif() | ||
17 | if(CONFIG_USE_component_tfa9xxx_adapter) | ||
18 | include(component_tfa9xxx_adapter) | ||
19 | endif() | ||
20 | if(CONFIG_USE_component_cs42888_adapter) | ||
21 | include(component_cs42888_adapter) | ||
22 | endif() | ||
23 | |||
24 | include(driver_common) | ||
25 | |||
26 | endif() \ No newline at end of file | ||