1#Description: Driver codec; user_visible: True 2include_guard(GLOBAL) 3message("driver_codec component is included.") 4 5target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 6 ${CMAKE_CURRENT_LIST_DIR}/fsl_codec_common.c 7) 8 9target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 10 ${CMAKE_CURRENT_LIST_DIR}/. 11) 12 13#OR Logic component 14if(CONFIG_USE_component_cs42448_adapter) 15 include(component_cs42448_adapter) 16endif() 17if(CONFIG_USE_component_cs42888_adapter) 18 include(component_cs42888_adapter) 19endif() 20if(CONFIG_USE_component_tfa9xxx_adapter) 21 include(component_tfa9xxx_adapter) 22endif() 23if(CONFIG_USE_component_wm8524_adapter) 24 include(component_wm8524_adapter) 25endif() 26if(CONFIG_USE_component_codec_adapters) 27 include(component_codec_adapters) 28endif() 29if(CONFIG_USE_component_wm8960_adapter) 30 include(component_wm8960_adapter) 31endif() 32if(CONFIG_USE_component_wm8904_adapter) 33 include(component_wm8904_adapter) 34endif() 35if(CONFIG_USE_component_tfa9896_adapter) 36 include(component_tfa9896_adapter) 37endif() 38if(CONFIG_USE_component_pcm512x_adapter) 39 include(component_pcm512x_adapter) 40endif() 41if(CONFIG_USE_component_pcm186x_adapter) 42 include(component_pcm186x_adapter) 43endif() 44if(CONFIG_USE_component_wm8962_adapter) 45 include(component_wm8962_adapter) 46endif() 47if(CONFIG_USE_component_ak4497_adapter) 48 include(component_ak4497_adapter) 49endif() 50if(CONFIG_USE_component_da7212_adapter) 51 include(component_da7212_adapter) 52endif() 53 54include(driver_common) 55