Commit 44e2a034 authored by Paul Sokolovsky's avatar Paul Sokolovsky Committed by Jukka Rissanen
Browse files

samples: sockets: echo_async_select: Add CONFIG_POSIX_API config



Build a sample variant with CONFIG_POSIX_API enabled, to check that
we have select() call available to applications.

Also, bump stack size, as the app crashes now with the default size.

Signed-off-by: default avatarPaul Sokolovsky <paul.sokolovsky@linaro.org>
parent ecf8c014
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
# General config
CONFIG_NEWLIB_LIBC=y
CONFIG_MAIN_STACK_SIZE=1200

# Networking config
CONFIG_NETWORKING=y
+10 −3
Original line number Diff line number Diff line
@@ -2,8 +2,15 @@ sample:
  description: BSD Sockets API TCP echo server sample
    using non-blocking sockets
  name: socket_echo_async
tests:
  sample.net.sockets.echo_async_select:
common:
  harness: net
  platform_whitelist: qemu_x86
  tags: net socket
tests:
  sample.net.sockets.echo_async_select:
    extra_configs:
      - CONFIG_NET_SOCKETS_POSIX_NAMES=y
  sample.net.sockets.echo_async_select.posix:
    extra_configs:
      - CONFIG_NET_SOCKETS_POSIX_NAMES=n
      - CONFIG_POSIX_API=y