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:
parent
7887d9c6d0
commit
993741f36e
1 changed files with 4 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue