diff --git a/samples/net/sockets/dumb_http_server/overlay-netusb.conf b/samples/net/sockets/dumb_http_server/overlay-netusb.conf new file mode 100644 index 00000000000..e7d7d17ec96 --- /dev/null +++ b/samples/net/sockets/dumb_http_server/overlay-netusb.conf @@ -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 diff --git a/samples/net/sockets/dumb_http_server/sample.yaml b/samples/net/sockets/dumb_http_server/sample.yaml index 0d4253b95f8..125785e15cf 100644 --- a/samples/net/sockets/dumb_http_server/sample.yaml +++ b/samples/net/sockets/dumb_http_server/sample.yaml @@ -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