From e4fa2f5db7bef57a679fbea2a1a17777af4f956d Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Wed, 26 Sep 2018 16:20:28 +0300 Subject: [PATCH] samples: sockets: echo_client/server: Build for minimal libc With recent changes, sockets no longer depend on Newlib libc, so let's have actual samples which demonstrate this. echo_client/ echo_server, which were ported from net_app samples, are converted. The rest of socket samples are intended to be buildable on a POSIX system (e.g. Linux), so they rather stay with more full-fledged libc. Signed-off-by: Paul Sokolovsky --- samples/net/sockets/echo_client/prj.conf | 1 - samples/net/sockets/echo_server/prj.conf | 1 - 2 files changed, 2 deletions(-) diff --git a/samples/net/sockets/echo_client/prj.conf b/samples/net/sockets/echo_client/prj.conf index ca40355046d..f0d972f47c4 100644 --- a/samples/net/sockets/echo_client/prj.conf +++ b/samples/net/sockets/echo_client/prj.conf @@ -4,7 +4,6 @@ CONFIG_NET_UDP=y CONFIG_NET_TCP=y CONFIG_NET_IPV6=y CONFIG_NET_IPV4=y -CONFIG_NEWLIB_LIBC=y CONFIG_NET_SOCKETS=y CONFIG_NET_SOCKETS_POSIX_NAMES=y CONFIG_NET_SOCKETS_POLL_MAX=4 diff --git a/samples/net/sockets/echo_server/prj.conf b/samples/net/sockets/echo_server/prj.conf index 43497135d4c..b8a640ffc89 100644 --- a/samples/net/sockets/echo_server/prj.conf +++ b/samples/net/sockets/echo_server/prj.conf @@ -4,7 +4,6 @@ CONFIG_NET_UDP=y CONFIG_NET_TCP=y CONFIG_NET_IPV6=y CONFIG_NET_IPV4=y -CONFIG_NEWLIB_LIBC=y CONFIG_NET_SOCKETS=y CONFIG_NET_SOCKETS_POSIX_NAMES=y