1#Description: SPI FREERTOS Driver; user_visible: True 2include_guard(GLOBAL) 3message("driver_spi_freertos component is included.") 4 5target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 6 ${CMAKE_CURRENT_LIST_DIR}/fsl_spi_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 "K32L2B31A") 15 include(middleware_freertos-kernel_K32L2B31A) 16endif() 17if(${MCUX_DEVICE} STREQUAL "MKM14ZA5") 18 include(middleware_freertos-kernel_MKM34ZA5) 19endif() 20if(${MCUX_DEVICE} STREQUAL "MKM34ZA5") 21 include(middleware_freertos-kernel_MKM34ZA5) 22endif() 23if(${MCUX_DEVICE} STREQUAL "K32L2B11A") 24 include(middleware_freertos-kernel_K32L2B31A) 25endif() 26if(${MCUX_DEVICE} STREQUAL "MKM35Z7") 27 include(middleware_freertos-kernel_MKM35Z7) 28endif() 29if(${MCUX_DEVICE} STREQUAL "K32L2B21A") 30 include(middleware_freertos-kernel_K32L2B31A) 31endif() 32if(${MCUX_DEVICE} STREQUAL "MKM34Z7") 33 include(middleware_freertos-kernel_MKM34Z7) 34endif() 35if(${MCUX_DEVICE} STREQUAL "MKM33ZA5") 36 include(middleware_freertos-kernel_MKM34ZA5) 37endif() 38if(${MCUX_DEVICE} STREQUAL "MKL27Z644") 39 include(middleware_freertos-kernel_MKL27Z644) 40endif() 41if(${MCUX_DEVICE} STREQUAL "MKL17Z644") 42 include(middleware_freertos-kernel_MKL27Z644) 43endif() 44 45include(driver_spi) 46