samples: net: echo_server: add config for native_sim offloaded sockets
Add configuration for Native Simulator offloaded sockets. Signed-off-by: Marcin Niestroj <m.niestroj@emb.dev>
This commit is contained in:
parent
9359903bd6
commit
81574fd1df
2 changed files with 14 additions and 0 deletions
9
samples/net/sockets/echo_server/overlay-nsos.conf
Normal file
9
samples/net/sockets/echo_server/overlay-nsos.conf
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
CONFIG_ETH_NATIVE_POSIX=n
|
||||
CONFIG_NET_DRIVERS=y
|
||||
CONFIG_NET_SOCKETS=y
|
||||
CONFIG_NET_SOCKETS_OFFLOAD=y
|
||||
CONFIG_NET_NATIVE_OFFLOADED_SOCKETS=y
|
||||
CONFIG_HEAP_MEM_POOL_SIZE=1024
|
||||
|
||||
# IPv6 DAD requires lower level network interface access, below exposed socket-level access
|
||||
CONFIG_NET_IPV6_DAD=n
|
||||
|
|
@ -133,3 +133,8 @@ tests:
|
|||
- qemu_x86_64
|
||||
integration_platforms:
|
||||
- qemu_x86
|
||||
sample.net.sockets.echo_server.nsos:
|
||||
platform_allow:
|
||||
- native_sim
|
||||
extra_args:
|
||||
- OVERLAY_CONFIG="overlay-nsos.conf"
|
||||
|
|
|
|||
Loading…
Reference in a new issue