1#Description: Driver cs42888; user_visible: True 2include_guard(GLOBAL) 3message("driver_cs42888 component is included.") 4 5target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 6 ${CMAKE_CURRENT_LIST_DIR}/fsl_cs42888.c 7) 8 9target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 10 ${CMAKE_CURRENT_LIST_DIR}/. 11) 12 13#OR Logic component 14if(${MCUX_DEVICE} STREQUAL "MIMXRT1052") 15 include(component_codec_i2c_MIMXRT1052) 16endif() 17if(${MCUX_DEVICE} STREQUAL "MIMXRT685S_cm33") 18 include(component_codec_i2c_MIMXRT685S_cm33) 19endif() 20if(${MCUX_DEVICE} STREQUAL "MIMXRT595S_cm33") 21 include(component_codec_i2c_MIMXRT595S_cm33) 22endif() 23if(${MCUX_DEVICE} STREQUAL "MIMX8QM6_cm4_core0") 24 include(component_codec_i2c_MIMX8QM6_cm4_core0) 25endif() 26if(${MCUX_DEVICE} STREQUAL "MIMX8QM6_cm4_core1") 27 include(component_codec_i2c_MIMX8QM6_cm4_core1) 28endif() 29if(${MCUX_DEVICE} STREQUAL "MIMX8QX6") 30 include(component_codec_i2c_MIMX8QX6) 31endif() 32if(${MCUX_DEVICE} STREQUAL "MIMX8UX6") 33 include(component_codec_i2c_MIMX8QX6) 34endif() 35if(${MCUX_DEVICE} STREQUAL "MIMX8UX5") 36 include(component_codec_i2c_MIMX8QX6) 37endif() 38if(${MCUX_DEVICE} STREQUAL "MIMX8QX2") 39 include(component_codec_i2c_MIMX8QX6) 40endif() 41if(${MCUX_DEVICE} STREQUAL "MIMX8QX3") 42 include(component_codec_i2c_MIMX8QX6) 43endif() 44if(${MCUX_DEVICE} STREQUAL "MIMX8QX5") 45 include(component_codec_i2c_MIMX8QX6) 46endif() 47if(${MCUX_DEVICE} STREQUAL "MIMX8QX4") 48 include(component_codec_i2c_MIMX8QX6) 49endif() 50if(${MCUX_DEVICE} STREQUAL "MIMX8DX4") 51 include(component_codec_i2c_MIMX8QX6) 52endif() 53if(${MCUX_DEVICE} STREQUAL "MIMX8DX2") 54 include(component_codec_i2c_MIMX8QX6) 55endif() 56if(${MCUX_DEVICE} STREQUAL "MIMX8QX1") 57 include(component_codec_i2c_MIMX8QX6) 58endif() 59if(${MCUX_DEVICE} STREQUAL "MIMX8DX3") 60 include(component_codec_i2c_MIMX8QX6) 61endif() 62if(${MCUX_DEVICE} STREQUAL "MIMX8DX6") 63 include(component_codec_i2c_MIMX8QX6) 64endif() 65if(${MCUX_DEVICE} STREQUAL "MIMX8DX5") 66 include(component_codec_i2c_MIMX8QX6) 67endif() 68if(${MCUX_DEVICE} STREQUAL "MIMX8DX1") 69 include(component_codec_i2c_MIMX8QX6) 70endif() 71 72