1#Description: Driver wm8960; user_visible: True 2include_guard(GLOBAL) 3message("driver_wm8960 component is included.") 4 5target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 6 ${CMAKE_CURRENT_LIST_DIR}/fsl_wm8960.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 "MIMXRT1062") 15 include(component_codec_i2c_MIMXRT1062) 16endif() 17if(${MCUX_DEVICE} STREQUAL "MIMXRT1042") 18 include(component_codec_i2c_MIMXRT1042) 19endif() 20if(${MCUX_DEVICE} STREQUAL "MIMXRT1176_cm4") 21 include(component_codec_i2c_MIMXRT1176_cm4) 22endif() 23if(${MCUX_DEVICE} STREQUAL "MIMXRT1173_cm4") 24 include(component_codec_i2c_MIMXRT1176_cm4) 25endif() 26if(${MCUX_DEVICE} STREQUAL "MIMXRT1175_cm4") 27 include(component_codec_i2c_MIMXRT1176_cm4) 28endif() 29if(${MCUX_DEVICE} STREQUAL "MIMXRT1176_cm7") 30 include(component_codec_i2c_MIMXRT1176_cm7) 31endif() 32if(${MCUX_DEVICE} STREQUAL "MIMXRT1171_cm7") 33 include(component_codec_i2c_MIMXRT1176_cm7) 34endif() 35if(${MCUX_DEVICE} STREQUAL "MIMXRT1173_cm7") 36 include(component_codec_i2c_MIMXRT1176_cm7) 37endif() 38if(${MCUX_DEVICE} STREQUAL "MIMXRT1172_cm7") 39 include(component_codec_i2c_MIMXRT1176_cm7) 40endif() 41if(${MCUX_DEVICE} STREQUAL "MIMXRT1175_cm7") 42 include(component_codec_i2c_MIMXRT1176_cm7) 43endif() 44if(${MCUX_DEVICE} STREQUAL "MCIMX7U5") 45 include(component_codec_i2c_MCIMX7U5) 46endif() 47if(${MCUX_DEVICE} STREQUAL "MIMXRT1024") 48 include(component_codec_i2c_MIMXRT1024) 49endif() 50if(${MCUX_DEVICE} STREQUAL "MIMXRT1011") 51 include(component_codec_i2c_MIMXRT1011) 52endif() 53if(${MCUX_DEVICE} STREQUAL "MIMX8ML8") 54 include(component_codec_i2c_MIMX8ML8) 55endif() 56if(${MCUX_DEVICE} STREQUAL "MIMXRT1015") 57 include(component_codec_i2c_MIMXRT1015) 58endif() 59if(${MCUX_DEVICE} STREQUAL "MIMX8QM6_cm4_core0") 60 include(component_codec_i2c_MIMX8QM6_cm4_core0) 61endif() 62if(${MCUX_DEVICE} STREQUAL "MIMX8QM6_cm4_core1") 63 include(component_codec_i2c_MIMX8QM6_cm4_core1) 64endif() 65if(${MCUX_DEVICE} STREQUAL "MIMX8QX6") 66 include(component_codec_i2c_MIMX8QX6) 67endif() 68if(${MCUX_DEVICE} STREQUAL "MIMX8UX6") 69 include(component_codec_i2c_MIMX8QX6) 70endif() 71if(${MCUX_DEVICE} STREQUAL "MIMX8UX5") 72 include(component_codec_i2c_MIMX8QX6) 73endif() 74if(${MCUX_DEVICE} STREQUAL "MIMX8QX2") 75 include(component_codec_i2c_MIMX8QX6) 76endif() 77if(${MCUX_DEVICE} STREQUAL "MIMX8QX3") 78 include(component_codec_i2c_MIMX8QX6) 79endif() 80if(${MCUX_DEVICE} STREQUAL "MIMX8QX5") 81 include(component_codec_i2c_MIMX8QX6) 82endif() 83if(${MCUX_DEVICE} STREQUAL "MIMX8QX4") 84 include(component_codec_i2c_MIMX8QX6) 85endif() 86if(${MCUX_DEVICE} STREQUAL "MIMX8DX4") 87 include(component_codec_i2c_MIMX8QX6) 88endif() 89if(${MCUX_DEVICE} STREQUAL "MIMX8DX2") 90 include(component_codec_i2c_MIMX8QX6) 91endif() 92if(${MCUX_DEVICE} STREQUAL "MIMX8QX1") 93 include(component_codec_i2c_MIMX8QX6) 94endif() 95if(${MCUX_DEVICE} STREQUAL "MIMX8DX3") 96 include(component_codec_i2c_MIMX8QX6) 97endif() 98if(${MCUX_DEVICE} STREQUAL "MIMX8DX6") 99 include(component_codec_i2c_MIMX8QX6) 100endif() 101if(${MCUX_DEVICE} STREQUAL "MIMX8DX5") 102 include(component_codec_i2c_MIMX8QX6) 103endif() 104if(${MCUX_DEVICE} STREQUAL "MIMX8DX1") 105 include(component_codec_i2c_MIMX8QX6) 106endif() 107 108