samples: net: Disable native_sim net USB driver in samples
The native_sim USB driver gives this error currently if one
enables CONFIG_POSIX_API.
drivers/usb/device/usb_dc_native_posix_adapt.c:22:10: \
fatal error: sys/un.h: No such file or directory
22 | #include <sys/un.h>
| ^~~~~~~~~~
compilation terminated.
Disable the netusb support from networking shells for native_sim
board for now so that CI can pass.
Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
This commit is contained in:
parent
d7c9d67a9c
commit
a613e2427a
3 changed files with 24 additions and 0 deletions
|
|
@ -19,8 +19,16 @@ tests:
|
|||
harness: net
|
||||
extra_args: OVERLAY_CONFIG="overlay-netusb.conf"
|
||||
tags: usb
|
||||
# native_sim usb driver does not work with CONFIG_POSIX_API
|
||||
platform_exclude:
|
||||
- native_sim
|
||||
- native_sim/native/64
|
||||
sample.net.sockets.dumb_http_server.netusb_zeroconf:
|
||||
depends_on: usb_device
|
||||
harness: net
|
||||
extra_args: OVERLAY_CONFIG="overlay-netusb.conf;overlay-zeroconf.conf"
|
||||
tags: usb
|
||||
# native_sim usb driver does not work with CONFIG_POSIX_API
|
||||
platform_exclude:
|
||||
- native_sim
|
||||
- native_sim/native/64
|
||||
|
|
|
|||
|
|
@ -86,6 +86,10 @@ tests:
|
|||
tags:
|
||||
- net
|
||||
- usb
|
||||
# native_sim usb driver does not work with CONFIG_POSIX_API
|
||||
platform_exclude:
|
||||
- native_sim
|
||||
- native_sim/native/64
|
||||
sample.net.sockets.echo_server.nrf_openthread:
|
||||
extra_args: OVERLAY_CONFIG="overlay-ot.conf"
|
||||
slow: true
|
||||
|
|
|
|||
|
|
@ -40,6 +40,10 @@ tests:
|
|||
- net
|
||||
- zperf
|
||||
depends_on: usb_device
|
||||
# native_sim usb driver does not work with CONFIG_POSIX_API
|
||||
platform_exclude:
|
||||
- native_sim
|
||||
- native_sim/native/64
|
||||
sample.net.zperf.device_next_ecm:
|
||||
harness: net
|
||||
extra_args: OVERLAY_CONFIG="overlay-usbd_next_ecm.conf"
|
||||
|
|
@ -58,6 +62,10 @@ tests:
|
|||
- net
|
||||
- zperf
|
||||
depends_on: usb_device
|
||||
# native_sim usb driver does not work with CONFIG_POSIX_API
|
||||
platform_exclude:
|
||||
- native_sim
|
||||
- native_sim/native/64
|
||||
sample.net.zperf.netusb_rndis:
|
||||
harness: net
|
||||
extra_args: OVERLAY_CONFIG="overlay-netusb.conf"
|
||||
|
|
@ -69,6 +77,10 @@ tests:
|
|||
- net
|
||||
- zperf
|
||||
depends_on: usb_device
|
||||
# native_sim usb driver does not work with CONFIG_POSIX_API
|
||||
platform_exclude:
|
||||
- native_sim
|
||||
- native_sim/native/64
|
||||
sample.net.zperf.shield:
|
||||
harness: net
|
||||
platform_allow: reel_board
|
||||
|
|
|
|||
Loading…
Reference in a new issue