Changes to netlib and nsh so that you build build with PF_IEEE802154 enabled and 6LoWPAN disabled.

This commit is contained in:
Gregory Nutt
2017-08-20 09:09:47 -06:00
parent 6cbf2b9130
commit 41ce937ed0
16 changed files with 141 additions and 70 deletions

View File

@@ -52,7 +52,8 @@
#include "nuttx/wireless/pktradio.h"
#include "netutils/netlib.h"
#if defined(CONFIG_NET_6LOWPAN) && CONFIG_NSOCKET_DESCRIPTORS > 0
#if (defined(CONFIG_NET_6LOWPAN) || defined(CONFIG_NET_IEEE802154)) && \
CONFIG_NSOCKET_DESCRIPTORS > 0
/****************************************************************************
* Private Functions
@@ -189,4 +190,5 @@ bool netlib_nodeaddrconv(FAR const char *addrstr,
return false;
}
#endif /* CONFIG_NET_6LOWPAN && CONFIG_NSOCKET_DESCRIPTORS */
#endif /* (CONFIG_NET_6LOWPAN || CONFIG_NET_IEEE802154) && CONFIG_NSOCKET_DESCRIPTORS */