2017-10-27 21:43:34 +08:00
|
|
|
zephyr_library()
|
|
|
|
|
|
|
|
zephyr_library_include_directories(
|
|
|
|
# USB headers
|
2018-01-11 22:46:44 +08:00
|
|
|
${ZEPHYR_BASE}/include/drivers/usb
|
|
|
|
${ZEPHYR_BASE}/include/usb/
|
|
|
|
${ZEPHYR_BASE}/usb/include/
|
2017-10-27 21:43:34 +08:00
|
|
|
..
|
|
|
|
|
|
|
|
# IP headers
|
2018-01-11 22:46:44 +08:00
|
|
|
${ZEPHYR_BASE}/subsys/net/ip
|
2017-10-27 21:43:34 +08:00
|
|
|
)
|
|
|
|
|
2017-11-10 20:33:13 +08:00
|
|
|
zephyr_library_sources(
|
2017-10-27 21:43:34 +08:00
|
|
|
netusb.c
|
|
|
|
)
|
|
|
|
|
|
|
|
zephyr_library_sources_ifdef(
|
|
|
|
CONFIG_USB_DEVICE_NETWORK_ECM
|
|
|
|
function_ecm.c
|
|
|
|
)
|
2017-09-25 18:55:35 +08:00
|
|
|
|
|
|
|
zephyr_library_sources_ifdef(
|
|
|
|
CONFIG_USB_DEVICE_NETWORK_RNDIS
|
|
|
|
function_rndis.c
|
|
|
|
)
|