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

@ -50,7 +50,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
/****************************************************************************
* Public Functions
@ -104,4 +105,4 @@ int netlib_setnodeaddr(FAR const char *ifname,
return ret;
}
#endif /* CONFIG_NET_6LOWPAN && CONFIG_NSOCKET_DESCRIPTORS */
#endif /* (CONFIG_NET_6LOWPAN || CONFIG_NET_IEEE802154) && CONFIG_NSOCKET_DESCRIPTORS */