if(NOT DRIVER_WM8904_INCLUDED) set(DRIVER_WM8904_INCLUDED true CACHE BOOL "driver_wm8904 component is included.") target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE ${CMAKE_CURRENT_LIST_DIR}/fsl_wm8904.c ) target_include_directories(${MCUX_SDK_PROJECT_NAME} PRIVATE ${CMAKE_CURRENT_LIST_DIR}/. ) #OR Logic component if(${MCUX_DEVICE} STREQUAL "LPC54114_cm4") include(component_codec_i2c_LPC54114_cm4) endif() if(${MCUX_DEVICE} STREQUAL "LPC54628") include(component_codec_i2c_LPC54628) endif() if(${MCUX_DEVICE} STREQUAL "LPC55S16") include(component_codec_i2c_LPC55S16) endif() if(${MCUX_DEVICE} STREQUAL "LPC54S018") include(component_codec_i2c_LPC54S018) endif() if(${MCUX_DEVICE} STREQUAL "LPC54S018M") include(component_codec_i2c_LPC54S018M) endif() if(${MCUX_DEVICE} STREQUAL "LPC51U68") include(component_codec_i2c_LPC51U68) endif() if(${MCUX_DEVICE} STREQUAL "LPC55S69_cm33_core0") include(component_codec_i2c_LPC55S69_cm33_core0) endif() if(${MCUX_DEVICE} STREQUAL "LPC55S28") include(component_codec_i2c_LPC55S28) endif() if(${MCUX_DEVICE} STREQUAL "MIMXRT685S_cm33") include(component_codec_i2c_MIMXRT685S_cm33) endif() include(driver_common) endif()