1#Description: FLEXCOMM I2C FREERTOS Driver; user_visible: True 2include_guard(GLOBAL) 3message("driver_flexcomm_i2c_freertos component is included.") 4 5target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 6 ${CMAKE_CURRENT_LIST_DIR}/fsl_i2c_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 "LPC55S66_cm33_core0") 15 include(middleware_freertos-kernel_LPC55S69_cm33_core0) 16endif() 17if(${MCUX_DEVICE} STREQUAL "LPC55S69_cm33_core0") 18 include(middleware_freertos-kernel_LPC55S69_cm33_core0) 19endif() 20if(${MCUX_DEVICE} STREQUAL "MIMXRT595S_cm33") 21 include(middleware_freertos-kernel_MIMXRT595S_cm33) 22endif() 23if(${MCUX_DEVICE} STREQUAL "LPC5502") 24 include(middleware_freertos-kernel_LPC55S06) 25endif() 26if(${MCUX_DEVICE} STREQUAL "LPC54114_cm4") 27 include(middleware_freertos-kernel_LPC54114_cm4) 28endif() 29if(${MCUX_DEVICE} STREQUAL "LPC54113_cm4") 30 include(middleware_freertos-kernel_LPC54114_cm4) 31endif() 32 33include(driver_flexcomm_i2c) 34