#Description: LPI2C CMSIS Driver; user_visible: True include_guard(GLOBAL) message("driver_cmsis_lpi2c component is included.") target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE ${CMAKE_CURRENT_LIST_DIR}/fsl_lpi2c_cmsis.c ) target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC ${CMAKE_CURRENT_LIST_DIR}/. ) #OR Logic component if(${MCUX_DEVICE} STREQUAL "MIMXRT1166_cm4") include(driver_lpi2c_edma) endif() if(${MCUX_DEVICE} STREQUAL "MIMXRT1166_cm7") include(driver_lpi2c_edma) endif() if(${MCUX_DEVICE} STREQUAL "MIMXRT1052") include(driver_lpi2c_edma) endif() if(${MCUX_DEVICE} STREQUAL "MIMXRT1064") include(driver_lpi2c_edma) endif() if(${MCUX_DEVICE} STREQUAL "MKE15Z7") include(driver_lpi2c_edma) endif() if(${MCUX_DEVICE} STREQUAL "MKE16Z4") include(driver_lpi2c) endif() if(${MCUX_DEVICE} STREQUAL "MKE12Z7") include(driver_lpi2c_edma) endif() if(${MCUX_DEVICE} STREQUAL "MIMXRT1173_cm4") include(driver_lpi2c_edma) endif() if(${MCUX_DEVICE} STREQUAL "MIMXRT1173_cm7") include(driver_lpi2c_edma) endif() if(${MCUX_DEVICE} STREQUAL "MIMXRT1051") include(driver_lpi2c_edma) endif() if(${MCUX_DEVICE} STREQUAL "MKE13Z7") include(driver_lpi2c_edma) endif() if(${MCUX_DEVICE} STREQUAL "MKE14Z7") include(driver_lpi2c_edma) endif() if(${MCUX_DEVICE} STREQUAL "MIMXRT1021") include(driver_lpi2c_edma) endif() if(${MCUX_DEVICE} STREQUAL "MIMXRT1062") include(driver_lpi2c_edma) endif() if(${MCUX_DEVICE} STREQUAL "MKE15Z4") include(driver_lpi2c) endif() if(${MCUX_DEVICE} STREQUAL "K32L3A60_cm0plus") include(driver_lpi2c_edma) endif() if(${MCUX_DEVICE} STREQUAL "K32L3A60_cm4") include(driver_lpi2c_edma) endif() if(${MCUX_DEVICE} STREQUAL "MIMXRT1042") include(driver_lpi2c_edma) endif() if(${MCUX_DEVICE} STREQUAL "MIMXRT1176_cm4") include(driver_lpi2c_edma) endif() if(${MCUX_DEVICE} STREQUAL "MIMXRT1173_cm4") include(driver_lpi2c_edma) endif() if(${MCUX_DEVICE} STREQUAL "MIMXRT1175_cm4") include(driver_lpi2c_edma) endif() if(${MCUX_DEVICE} STREQUAL "MIMXRT1176_cm7") include(driver_lpi2c_edma) endif() if(${MCUX_DEVICE} STREQUAL "MIMXRT1171_cm7") include(driver_lpi2c_edma) endif() if(${MCUX_DEVICE} STREQUAL "MIMXRT1173_cm7") include(driver_lpi2c_edma) endif() if(${MCUX_DEVICE} STREQUAL "MIMXRT1172_cm7") include(driver_lpi2c_edma) endif() if(${MCUX_DEVICE} STREQUAL "MIMXRT1175_cm7") include(driver_lpi2c_edma) endif() if(${MCUX_DEVICE} STREQUAL "MIMXRT1061") include(driver_lpi2c_edma) endif() if(${MCUX_DEVICE} STREQUAL "MIMXRT1165_cm4") include(driver_lpi2c_edma) endif() if(${MCUX_DEVICE} STREQUAL "MIMXRT1165_cm7") include(driver_lpi2c_edma) endif() if(${MCUX_DEVICE} STREQUAL "MKE17Z7") include(driver_lpi2c_edma) endif() if(${MCUX_DEVICE} STREQUAL "K32L2A31A") include(driver_lpi2c_edma) endif() if(${MCUX_DEVICE} STREQUAL "MCIMX7U5") include(driver_lpi2c_edma) endif() if(${MCUX_DEVICE} STREQUAL "MIMXRT1024") include(driver_lpi2c_edma) endif() if(${MCUX_DEVICE} STREQUAL "MIMXRT1011") include(driver_lpi2c_edma) endif() if(${MCUX_DEVICE} STREQUAL "MKE14Z4") include(driver_lpi2c) endif() if(${MCUX_DEVICE} STREQUAL "K32L2A41A") include(driver_lpi2c_edma) endif() if(${MCUX_DEVICE} STREQUAL "MCIMX7U3") include(driver_lpi2c_edma) endif() if(${MCUX_DEVICE} STREQUAL "MIMXRT1015") include(driver_lpi2c_edma) endif() include(CMSIS_Driver_Include_I2C) include(driver_lpi2c_edma)