1#Description: USDHC Driver; user_visible: True 2include_guard(GLOBAL) 3message("driver_usdhc component is included.") 4 5target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 6 ${CMAKE_CURRENT_LIST_DIR}/fsl_usdhc.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(driver_common) 16endif() 17if(${MCUX_DEVICE} STREQUAL "MIMXRT1042") 18 include(driver_common) 19endif() 20if(${MCUX_DEVICE} STREQUAL "MIMXRT1176_cm4") 21 include(driver_memory) 22endif() 23if(${MCUX_DEVICE} STREQUAL "MIMXRT1173_cm4") 24 include(driver_memory) 25endif() 26if(${MCUX_DEVICE} STREQUAL "MIMXRT1175_cm4") 27 include(driver_memory) 28endif() 29if(${MCUX_DEVICE} STREQUAL "MIMXRT1176_cm7") 30 include(driver_memory) 31endif() 32if(${MCUX_DEVICE} STREQUAL "MIMXRT1171_cm7") 33 include(driver_memory) 34endif() 35if(${MCUX_DEVICE} STREQUAL "MIMXRT1173_cm7") 36 include(driver_memory) 37endif() 38if(${MCUX_DEVICE} STREQUAL "MIMXRT1172_cm7") 39 include(driver_memory) 40endif() 41if(${MCUX_DEVICE} STREQUAL "MIMXRT1175_cm7") 42 include(driver_memory) 43endif() 44if(${MCUX_DEVICE} STREQUAL "MIMXRT1061") 45 include(driver_common) 46endif() 47if(${MCUX_DEVICE} STREQUAL "MIMXRT1165_cm4") 48 include(driver_memory) 49endif() 50if(${MCUX_DEVICE} STREQUAL "MIMXRT1165_cm7") 51 include(driver_memory) 52endif() 53if(${MCUX_DEVICE} STREQUAL "MIMXRT1024") 54 include(driver_common) 55endif() 56if(${MCUX_DEVICE} STREQUAL "MIMXRT533S_cm33") 57 include(driver_common) 58endif() 59if(${MCUX_DEVICE} STREQUAL "MIMXRT685S_cm33") 60 include(driver_common) 61endif() 62if(${MCUX_DEVICE} STREQUAL "MIMXRT595S_cm33") 63 include(driver_common) 64endif() 65 66