#Description: Component codec_i2c; user_visible: True
include_guard(GLOBAL)
message("component_codec_i2c component is included.")

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

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

#OR Logic component
if(CONFIG_USE_component_i3c_adapter) 
    include(component_i3c_adapter)
endif()
if(CONFIG_USE_component_flexcomm_i2c_adapter) 
    include(component_flexcomm_i2c_adapter)
endif()

