1#Description: UART CMSIS Driver; user_visible: True 2include_guard(GLOBAL) 3message("driver_cmsis_uart component is included.") 4 5target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 6 ${CMAKE_CURRENT_LIST_DIR}/fsl_uart_cmsis.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 "MK22F12810") 15 include(driver_uart_edma) 16endif() 17if(${MCUX_DEVICE} STREQUAL "MKV10Z1287") 18 include(driver_uart_edma) 19endif() 20if(${MCUX_DEVICE} STREQUAL "K32L2B31A") 21 include(driver_uart_dma) 22endif() 23if(${MCUX_DEVICE} STREQUAL "MKM14ZA5") 24 include(driver_uart_dma) 25endif() 26if(${MCUX_DEVICE} STREQUAL "MKV11Z7") 27 include(driver_uart_edma) 28endif() 29if(${MCUX_DEVICE} STREQUAL "MKV31F51212") 30 include(driver_uart_edma) 31endif() 32if(${MCUX_DEVICE} STREQUAL "MK22F51212") 33 include(driver_uart_edma) 34endif() 35if(${MCUX_DEVICE} STREQUAL "MKM34ZA5") 36 include(driver_uart_dma) 37endif() 38if(${MCUX_DEVICE} STREQUAL "MKE02Z4") 39 include(driver_uart) 40endif() 41if(${MCUX_DEVICE} STREQUAL "MKV10Z7") 42 include(driver_uart_edma) 43endif() 44if(${MCUX_DEVICE} STREQUAL "K32L2B11A") 45 include(driver_uart_dma) 46endif() 47if(${MCUX_DEVICE} STREQUAL "MK02F12810") 48 include(driver_uart_edma) 49endif() 50if(${MCUX_DEVICE} STREQUAL "MK22F25612") 51 include(driver_uart_edma) 52endif() 53if(${MCUX_DEVICE} STREQUAL "MKM35Z7") 54 include(driver_uart_dma) 55endif() 56if(${MCUX_DEVICE} STREQUAL "K32L2B21A") 57 include(driver_uart_dma) 58endif() 59if(${MCUX_DEVICE} STREQUAL "MKM34Z7") 60 include(driver_uart_dma) 61endif() 62if(${MCUX_DEVICE} STREQUAL "MKV31F12810") 63 include(driver_uart_edma) 64endif() 65if(${MCUX_DEVICE} STREQUAL "MKM33ZA5") 66 include(driver_uart_dma) 67endif() 68if(${MCUX_DEVICE} STREQUAL "MKV31F25612") 69 include(driver_uart_edma) 70endif() 71if(${MCUX_DEVICE} STREQUAL "MKV30F12810") 72 include(driver_uart_edma) 73endif() 74if(${MCUX_DEVICE} STREQUAL "MK64F12") 75 include(driver_uart_edma) 76endif() 77if(${MCUX_DEVICE} STREQUAL "MK63F12") 78 include(driver_uart_edma) 79endif() 80if(${MCUX_DEVICE} STREQUAL "MK24F12") 81 include(driver_uart_edma) 82endif() 83if(${MCUX_DEVICE} STREQUAL "MK66F18") 84 include(driver_uart_edma) 85endif() 86if(${MCUX_DEVICE} STREQUAL "MK65F18") 87 include(driver_uart_edma) 88endif() 89if(${MCUX_DEVICE} STREQUAL "MK26F18") 90 include(driver_uart_edma) 91endif() 92if(${MCUX_DEVICE} STREQUAL "MKE06Z4") 93 include(driver_uart) 94endif() 95if(${MCUX_DEVICE} STREQUAL "MKE04Z1284") 96 include(driver_uart) 97endif() 98if(${MCUX_DEVICE} STREQUAL "MKE04Z4") 99 include(driver_uart) 100endif() 101 102include(CMSIS_Driver_Include_USART) 103include(driver_uart_edma) 104