zephyr/samples/net/sockets/sntp_client/sample.yaml
Alberto Escolar Piedras eae281bb33 samples sntp_client: Move from native_posix to native_sim
* In the sample doc, replace native_posix references with native_sim
* Enable native_sim in the sample yaml

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2023-11-15 10:03:17 +01:00

30 lines
706 B
YAML

sample:
description: SNTP client sample
name: sntp_client
common:
harness: net
tags: net
tests:
sample.net.sockets.sntp_client:
platform_allow:
- qemu_x86
- native_sim
sample.net.sockets.sntp_client.posix_names:
platform_allow:
- qemu_x86
- native_sim
extra_configs:
- CONFIG_NET_SOCKETS_POSIX_NAMES=y
sample.net.sockets.sntp_client.posix:
platform_allow:
- qemu_x86
- native_sim
extra_configs:
- CONFIG_NET_SOCKETS_POSIX_NAMES=n
- CONFIG_POSIX_API=y
sample.net.sockets.sntp_client.native_posix:
platform_allow: native_posix
extra_configs:
- CONFIG_NET_SOCKETS_POSIX_NAMES=n
- CONFIG_POSIX_API=n