2019-04-06 21:08:09 +08:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
2021-08-05 05:52:25 +08:00
|
|
|
if(CONFIG_USB_DEVICE_DRIVER)
|
|
|
|
|
|
|
|
zephyr_library()
|
|
|
|
|
|
|
|
zephyr_library_sources_ifdef(CONFIG_USB_DW usb_dc_dw.c)
|
|
|
|
zephyr_library_sources_ifdef(CONFIG_USB_DC_STM32 usb_dc_stm32.c)
|
|
|
|
zephyr_library_sources_ifdef(CONFIG_USB_DC_SAM0 usb_dc_sam0.c)
|
2020-07-02 11:01:48 +08:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_USB_DC_SAM_USBC usb_dc_sam_usbc.c)
|
2021-08-05 05:52:25 +08:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_USB_DC_SAM_USBHS usb_dc_sam_usbhs.c)
|
|
|
|
zephyr_library_sources_ifdef(CONFIG_USB_KINETIS usb_dc_kinetis.c)
|
|
|
|
zephyr_library_sources_ifdef(CONFIG_USB_NATIVE_POSIX
|
2018-09-10 21:07:31 +08:00
|
|
|
usb_dc_native_posix.c
|
|
|
|
usb_dc_native_posix_adapt.c
|
|
|
|
)
|
2021-08-05 05:52:25 +08:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_USB_NRFX usb_dc_nrfx.c)
|
2021-08-17 04:49:03 +08:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_USB_MCUX usb_dc_mcux.c)
|
2021-08-05 05:52:25 +08:00
|
|
|
|
|
|
|
endif()
|