1
0
Fork 0
forked from nuttx/nuttx-update

netconfig.h:add CONFIG_NET_USRSOCK & CONFIG_NET_IPv4 & CONFIG_NET_IPv6 to support communicating in slave core

Signed-off-by: wangchen <wangchen41@xiaomi.com>
This commit is contained in:
wangchen 2024-12-09 18:14:19 +08:00 committed by Xiang Xiao
parent 7887d9c6d0
commit 993741f36e

View file

@ -88,12 +88,14 @@
# define HAVE_INET_SOCKETS
# if (defined(CONFIG_NET_IPv4) && (defined(NET_UDP_HAVE_STACK) || \
defined(NET_TCP_HAVE_STACK))) || defined(CONFIG_NET_ICMP_SOCKET)
defined(NET_TCP_HAVE_STACK) || defined(CONFIG_NET_USRSOCK))) || \
defined(CONFIG_NET_ICMP_SOCKET)
# define HAVE_PFINET_SOCKETS
# endif
# if (defined(CONFIG_NET_IPv6) && (defined(NET_UDP_HAVE_STACK) || \
defined(NET_TCP_HAVE_STACK))) || defined(CONFIG_NET_ICMPv6_SOCKET)
defined(NET_TCP_HAVE_STACK) || defined(CONFIG_NET_USRSOCK))) || \
defined(CONFIG_NET_ICMPv6_SOCKET)
# define HAVE_PFINET6_SOCKETS
# endif
#endif