samples coap_server: Move from native_posix to native_sim
* In the sample doc, replace native_posix references with native_sim * Provide overlays for native_sim * Enable native_sim in the sample yaml * Remove native_posix from the sample yaml platform_allow as it was filtered out by the host libC Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
This commit is contained in:
parent
2cadcb3df4
commit
3e4b393909
4 changed files with 10 additions and 2 deletions
|
|
@ -44,7 +44,7 @@ or wireshark.
|
|||
|
||||
See the `net-tools`_ project for more details
|
||||
|
||||
This sample can be built and executed on QEMU or native_posix board as
|
||||
This sample can be built and executed on QEMU or native_sim board as
|
||||
described in :ref:`networking_with_host`.
|
||||
|
||||
Use this command on the host to run the `libcoap`_ implementation of
|
||||
|
|
|
|||
4
samples/net/sockets/coap_server/boards/native_sim.conf
Normal file
4
samples/net/sockets/coap_server/boards/native_sim.conf
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
CONFIG_NET_L2_ETHERNET=y
|
||||
CONFIG_NATIVE_SIM_SLOWDOWN_TO_REAL_TIME=y
|
||||
CONFIG_NATIVE_UART_0_ON_STDINOUT=y
|
||||
CONFIG_PICOLIBC=y
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
CONFIG_NET_L2_ETHERNET=y
|
||||
CONFIG_NATIVE_SIM_SLOWDOWN_TO_REAL_TIME=y
|
||||
CONFIG_NATIVE_UART_0_ON_STDINOUT=y
|
||||
CONFIG_PICOLIBC=y
|
||||
|
|
@ -10,5 +10,5 @@ tests:
|
|||
- net
|
||||
- socket
|
||||
platform_allow:
|
||||
- native_posix
|
||||
- native_sim
|
||||
- qemu_x86
|
||||
|
|
|
|||
Loading…
Reference in a new issue