if(NOT COMPONENT_CODEC_I2C_MIMXRT685S_CM33_INCLUDED) set(COMPONENT_CODEC_I2C_MIMXRT685S_CM33_INCLUDED true CACHE BOOL "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} PRIVATE ${CMAKE_CURRENT_LIST_DIR}/. ) #OR Logic component if(CONFIG_USE_component_flexcomm_i2c_adapter) include(component_flexcomm_i2c_adapter) endif() if(CONFIG_USE_component_i3c_adapter) include(component_i3c_adapter) endif() include(driver_common) endif()