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