1#Description: DSPI Freertos Driver; user_visible: True 2include_guard(GLOBAL) 3message("driver_dspi_freertos component is included.") 4 5target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 6 ${CMAKE_CURRENT_LIST_DIR}/fsl_dspi_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 "MKV31F51212") 18 include(middleware_freertos-kernel_MKV31F51212) 19endif() 20if(${MCUX_DEVICE} STREQUAL "MK22F51212") 21 include(middleware_freertos-kernel_MK22F51212) 22endif() 23if(${MCUX_DEVICE} STREQUAL "MK02F12810") 24 include(middleware_freertos-kernel_MK22F51212) 25endif() 26if(${MCUX_DEVICE} STREQUAL "MK22F25612") 27 include(middleware_freertos-kernel_MK22F51212) 28endif() 29if(${MCUX_DEVICE} STREQUAL "MKV31F12810") 30 include(middleware_freertos-kernel_MKV31F51212) 31endif() 32if(${MCUX_DEVICE} STREQUAL "MKV31F25612") 33 include(middleware_freertos-kernel_MKV31F51212) 34endif() 35if(${MCUX_DEVICE} STREQUAL "MKV30F12810") 36 include(middleware_freertos-kernel_MKV31F51212) 37endif() 38if(${MCUX_DEVICE} STREQUAL "MK64F12") 39 include(middleware_freertos-kernel_MK64F12) 40endif() 41if(${MCUX_DEVICE} STREQUAL "MK63F12") 42 include(middleware_freertos-kernel_MK64F12) 43endif() 44if(${MCUX_DEVICE} STREQUAL "MK24F12") 45 include(middleware_freertos-kernel_MK64F12) 46endif() 47if(${MCUX_DEVICE} STREQUAL "MK66F18") 48 include(middleware_freertos-kernel_MK66F18) 49endif() 50if(${MCUX_DEVICE} STREQUAL "MK65F18") 51 include(middleware_freertos-kernel_MK66F18) 52endif() 53if(${MCUX_DEVICE} STREQUAL "MK26F18") 54 include(middleware_freertos-kernel_MK66F18) 55endif() 56if(${MCUX_DEVICE} STREQUAL "MK28FA15") 57 include(middleware_freertos-kernel_MK28FA15) 58endif() 59if(${MCUX_DEVICE} STREQUAL "MK27FA15") 60 include(middleware_freertos-kernel_MK28FA15) 61endif() 62 63include(driver_dspi) 64include(middleware_freertos-kernel_MK22F51212) 65