2018-04-17 17:20:22 +08:00
|
|
|
zephyr_library_include_directories(${ZEPHYR_BASE}/subsys/usb)
|
|
|
|
|
2017-10-27 21:43:34 +08:00
|
|
|
zephyr_sources_ifdef(CONFIG_USB_CDC_ACM cdc_acm.c)
|
|
|
|
zephyr_sources_ifdef(CONFIG_USB_MASS_STORAGE mass_storage.c)
|
2018-04-18 16:54:35 +08:00
|
|
|
zephyr_sources_ifdef(CONFIG_USB_DEVICE_BLUETOOTH bluetooth.c)
|
2017-08-22 17:45:38 +08:00
|
|
|
zephyr_sources_ifdef(CONFIG_USB_DFU_CLASS usb_dfu.c)
|
2018-05-18 19:30:31 +08:00
|
|
|
zephyr_sources_ifdef(CONFIG_USB_DEVICE_LOOPBACK loopback.c)
|
2017-10-27 21:43:34 +08:00
|
|
|
|
|
|
|
add_subdirectory_ifdef(CONFIG_USB_DEVICE_NETWORK netusb)
|
2018-01-24 20:02:44 +08:00
|
|
|
add_subdirectory_ifdef(CONFIG_USB_DEVICE_HID hid)
|