1#Description: USB Host Stack; user_visible: True 2include_guard(GLOBAL) 3message("middleware_usb_host_stack component is included.") 4 5target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE 6 ${CMAKE_CURRENT_LIST_DIR}/host/usb_host_hci.c 7 ${CMAKE_CURRENT_LIST_DIR}/host/usb_host_devices.c 8 ${CMAKE_CURRENT_LIST_DIR}/host/usb_host_framework.c 9 ${CMAKE_CURRENT_LIST_DIR}/host/class/usb_host_hub.c 10 ${CMAKE_CURRENT_LIST_DIR}/host/class/usb_host_hub_app.c 11) 12 13target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC 14 ${CMAKE_CURRENT_LIST_DIR}/host 15 ${CMAKE_CURRENT_LIST_DIR}/host/class 16 ${CMAKE_CURRENT_LIST_DIR}/include 17) 18 19#OR Logic component 20if(CONFIG_USE_middleware_usb_host_ip3516hs_LPC54628) 21 include(middleware_usb_host_ip3516hs_LPC54628) 22endif() 23if(CONFIG_USE_middleware_usb_host_ohci) 24 include(middleware_usb_host_ohci) 25endif() 26 27include(component_osa) 28