if(NOT MIDDLEWARE_USB_HOST_STACK_LPC55S69_cm33_core0_INCLUDED)
    
    set(MIDDLEWARE_USB_HOST_STACK_LPC55S69_cm33_core0_INCLUDED true CACHE BOOL "middleware_usb_host_stack component is included.")

    target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
        ${CMAKE_CURRENT_LIST_DIR}/host/usb_host_hci.c
        ${CMAKE_CURRENT_LIST_DIR}/host/usb_host_devices.c
        ${CMAKE_CURRENT_LIST_DIR}/host/usb_host_framework.c
        ${CMAKE_CURRENT_LIST_DIR}/host/class/usb_host_hub.c
        ${CMAKE_CURRENT_LIST_DIR}/host/class/usb_host_hub_app.c
    )


    target_include_directories(${MCUX_SDK_PROJECT_NAME} PRIVATE
        ${CMAKE_CURRENT_LIST_DIR}/host
        ${CMAKE_CURRENT_LIST_DIR}/host/class
        ${CMAKE_CURRENT_LIST_DIR}/include
    )


    #OR Logic component
    if(CONFIG_USE_middleware_usb_host_khci_LPC55S69_cm33_core0)
         include(middleware_usb_host_khci_LPC55S69_cm33_core0)
    endif()
    if(CONFIG_USE_middleware_usb_host_ehci_LPC55S69_cm33_core0)
         include(middleware_usb_host_ehci_LPC55S69_cm33_core0)
    endif()
    if(CONFIG_USE_middleware_usb_host_ohci_LPC55S69_cm33_core0)
         include(middleware_usb_host_ohci_LPC55S69_cm33_core0)
    endif()
    if(CONFIG_USE_middleware_usb_host_ip3516hs_LPC55S69_cm33_core0)
         include(middleware_usb_host_ip3516hs_LPC55S69_cm33_core0)
    endif()
    if(NOT (CONFIG_USE_middleware_usb_host_khci_LPC55S69_cm33_core0 OR CONFIG_USE_middleware_usb_host_ehci_LPC55S69_cm33_core0 OR CONFIG_USE_middleware_usb_host_ohci_LPC55S69_cm33_core0 OR CONFIG_USE_middleware_usb_host_ip3516hs_LPC55S69_cm33_core0))
        message(WARNING "Since middleware_usb_host_khci_LPC55S69_cm33_core0/middleware_usb_host_ehci_LPC55S69_cm33_core0/middleware_usb_host_ohci_LPC55S69_cm33_core0/middleware_usb_host_ip3516hs_LPC55S69_cm33_core0 is not included at first or config in config.cmake file, use middleware_usb_host_khci_LPC55S69_cm33_core0 by default.")
        include(middleware_usb_host_khci_LPC55S69_cm33_core0)
    endif()

    include(component_osa_LPC55S69_cm33_core0)

endif()
