1#Description: PDM EDMA Driver; user_visible: True 2include_guard(GLOBAL) 3message("driver_pdm_edma component is included.") 4 5target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 6 ${CMAKE_CURRENT_LIST_DIR}/fsl_pdm_edma.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 "MIMXRT1176_cm4") 15 include(driver_edma_MIMXRT1176_cm4) 16endif() 17if(${MCUX_DEVICE} STREQUAL "MIMXRT1173_cm4") 18 include(driver_edma_MIMXRT1176_cm4) 19endif() 20if(${MCUX_DEVICE} STREQUAL "MIMXRT1175_cm4") 21 include(driver_edma_MIMXRT1176_cm4) 22endif() 23if(${MCUX_DEVICE} STREQUAL "MIMXRT1176_cm7") 24 include(driver_edma_MIMXRT1176_cm7) 25endif() 26if(${MCUX_DEVICE} STREQUAL "MIMXRT1171_cm7") 27 include(driver_edma_MIMXRT1176_cm7) 28endif() 29if(${MCUX_DEVICE} STREQUAL "MIMXRT1173_cm7") 30 include(driver_edma_MIMXRT1176_cm7) 31endif() 32if(${MCUX_DEVICE} STREQUAL "MIMXRT1172_cm7") 33 include(driver_edma_MIMXRT1176_cm7) 34endif() 35if(${MCUX_DEVICE} STREQUAL "MIMXRT1175_cm7") 36 include(driver_edma_MIMXRT1176_cm7) 37endif() 38if(${MCUX_DEVICE} STREQUAL "MIMXRT1165_cm4") 39 include(driver_edma_MIMXRT1166_cm4) 40endif() 41if(${MCUX_DEVICE} STREQUAL "MIMXRT1165_cm7") 42 include(driver_edma_MIMXRT1166_cm7) 43endif() 44 45include(driver_pdm) 46