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