1#Description: Driver srtm freertos; user_visible: True 2include_guard(GLOBAL) 3message("driver_srtm_freertos component is included.") 4 5target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 6 ${CMAKE_CURRENT_LIST_DIR}/srtm_heap_freertos.c 7 ${CMAKE_CURRENT_LIST_DIR}/srtm_mutex_freertos.c 8 ${CMAKE_CURRENT_LIST_DIR}/srtm_sem_freertos.c 9) 10 11target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 12) 13 14#OR Logic component 15if(${MCUX_DEVICE} STREQUAL "MIMX8MM6") 16 include(driver_srtm_MIMX8MM6) 17endif() 18if(${MCUX_DEVICE} STREQUAL "MIMX8MN6") 19 include(driver_srtm_MIMX8MN6) 20endif() 21if(${MCUX_DEVICE} STREQUAL "MCIMX7U5") 22 include(driver_srtm_MCIMX7U5) 23endif() 24if(${MCUX_DEVICE} STREQUAL "MIMX8ML8") 25 include(driver_srtm_MIMX8ML8) 26endif() 27if(${MCUX_DEVICE} STREQUAL "MIMX8QM6_cm4_core1") 28 include(driver_srtm_MIMX8QM6_cm4_core1) 29endif() 30if(${MCUX_DEVICE} STREQUAL "MIMX8QX6") 31 include(driver_srtm_MIMX8QX6) 32endif() 33if(${MCUX_DEVICE} STREQUAL "MIMX8UX6") 34 include(driver_srtm_MIMX8QX6) 35endif() 36if(${MCUX_DEVICE} STREQUAL "MIMX8UX5") 37 include(driver_srtm_MIMX8QX6) 38endif() 39if(${MCUX_DEVICE} STREQUAL "MIMX8QX2") 40 include(driver_srtm_MIMX8QX6) 41endif() 42if(${MCUX_DEVICE} STREQUAL "MIMX8QX3") 43 include(driver_srtm_MIMX8QX6) 44endif() 45if(${MCUX_DEVICE} STREQUAL "MIMX8QX5") 46 include(driver_srtm_MIMX8QX6) 47endif() 48if(${MCUX_DEVICE} STREQUAL "MIMX8QX4") 49 include(driver_srtm_MIMX8QX6) 50endif() 51if(${MCUX_DEVICE} STREQUAL "MIMX8DX4") 52 include(driver_srtm_MIMX8QX6) 53endif() 54if(${MCUX_DEVICE} STREQUAL "MIMX8DX2") 55 include(driver_srtm_MIMX8QX6) 56endif() 57if(${MCUX_DEVICE} STREQUAL "MIMX8QX1") 58 include(driver_srtm_MIMX8QX6) 59endif() 60if(${MCUX_DEVICE} STREQUAL "MIMX8DX3") 61 include(driver_srtm_MIMX8QX6) 62endif() 63if(${MCUX_DEVICE} STREQUAL "MIMX8DX6") 64 include(driver_srtm_MIMX8QX6) 65endif() 66if(${MCUX_DEVICE} STREQUAL "MIMX8DX5") 67 include(driver_srtm_MIMX8QX6) 68endif() 69if(${MCUX_DEVICE} STREQUAL "MIMX8DX1") 70 include(driver_srtm_MIMX8QX6) 71endif() 72 73