if(NOT COMPONENT_SERIAL_MANAGER_USB_CDC_LPC55S16_INCLUDED)
    
    set(COMPONENT_SERIAL_MANAGER_USB_CDC_LPC55S16_INCLUDED true CACHE BOOL "component_serial_manager_usb_cdc component is included.")

    target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
        ${CMAKE_CURRENT_LIST_DIR}/fsl_component_serial_port_usb.c
        ${CMAKE_CURRENT_LIST_DIR}/usb_cdc_adapter/usb_device_descriptor.c
    )


    target_include_directories(${MCUX_SDK_PROJECT_NAME} PRIVATE
        ${CMAKE_CURRENT_LIST_DIR}/.
        ${CMAKE_CURRENT_LIST_DIR}/usb_cdc_adapter
    )


    include(component_serial_manager_LPC55S16)

    include(middleware_usb_device_cdc_external_LPC55S16)

    include(driver_common_LPC55S16)

endif()
