samples: net: dumb_http_server: Add netusb configuration
Add configuration for netusb. Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
This commit is contained in:
parent
6b9f0df7da
commit
a080154584
2 changed files with 15 additions and 0 deletions
10
samples/net/sockets/dumb_http_server/overlay-netusb.conf
Normal file
10
samples/net/sockets/dumb_http_server/overlay-netusb.conf
Normal file
|
@ -0,0 +1,10 @@
|
|||
# USB Device settings
|
||||
CONFIG_USB=y
|
||||
CONFIG_USB_DEVICE_STACK=y
|
||||
|
||||
# Select USB Configurations
|
||||
CONFIG_USB_DEVICE_NETWORK_ECM=y
|
||||
|
||||
# Logging
|
||||
CONFIG_USB_DRIVER_LOG_LEVEL_INF=y
|
||||
CONFIG_USB_DEVICE_LOG_LEVEL_INF=y
|
|
@ -16,3 +16,8 @@ tests:
|
|||
extra_configs:
|
||||
- CONFIG_NET_SOCKETS_POSIX_NAMES=n
|
||||
- CONFIG_POSIX_API=y
|
||||
sample.net.sockets.dumb_http_server.netusb:
|
||||
depends_on: usb_device
|
||||
harness: net
|
||||
extra_args: OVERLAY_CONFIG="overlay-netusb.conf"
|
||||
tags: usb
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue