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:
Andrei Emeltchenko 2019-10-03 15:01:31 +03:00 committed by Jukka Rissanen
commit a080154584
2 changed files with 15 additions and 0 deletions

View 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

View file

@ -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