1#Description: Driver pcm512x; user_visible: True 2include_guard(GLOBAL) 3message("driver_pcm512x component is included.") 4 5target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 6 ${CMAKE_CURRENT_LIST_DIR}/fsl_pcm512x.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 "MIMXRT1166_cm4") 15 include(component_codec_i2c_MIMXRT1166_cm4) 16endif() 17if(${MCUX_DEVICE} STREQUAL "MIMXRT1166_cm7") 18 include(component_codec_i2c_MIMXRT1166_cm7) 19endif() 20if(${MCUX_DEVICE} STREQUAL "MIMXRT1052") 21 include(component_codec_i2c_MIMXRT1052) 22endif() 23if(${MCUX_DEVICE} STREQUAL "MIMXRT1064") 24 include(component_codec_i2c_MIMXRT1064) 25endif() 26if(${MCUX_DEVICE} STREQUAL "MIMXRT1021") 27 include(component_codec_i2c_MIMXRT1021) 28endif() 29if(${MCUX_DEVICE} STREQUAL "MIMXRT1062") 30 include(component_codec_i2c_MIMXRT1062) 31endif() 32if(${MCUX_DEVICE} STREQUAL "MIMXRT1176_cm4") 33 include(component_codec_i2c_MIMXRT1176_cm4) 34endif() 35if(${MCUX_DEVICE} STREQUAL "MIMXRT1176_cm7") 36 include(component_codec_i2c_MIMXRT1176_cm7) 37endif() 38if(${MCUX_DEVICE} STREQUAL "MCIMX7U5") 39 include(component_codec_i2c_MCIMX7U5) 40endif() 41if(${MCUX_DEVICE} STREQUAL "MIMXRT1024") 42 include(component_codec_i2c_MIMXRT1024) 43endif() 44if(${MCUX_DEVICE} STREQUAL "MIMXRT1011") 45 include(component_codec_i2c_MIMXRT1011) 46endif() 47if(${MCUX_DEVICE} STREQUAL "MIMX8ML8") 48 include(component_codec_i2c_MIMX8ML8) 49endif() 50if(${MCUX_DEVICE} STREQUAL "MIMX8MM6") 51 include(component_codec_i2c_MIMX8MM6) 52endif() 53if(${MCUX_DEVICE} STREQUAL "MIMX8MN6") 54 include(component_codec_i2c_MIMX8MN6) 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() 68 69