mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-10-16 02:01:47 +00:00
Changes to netlib and nsh so that you build build with PF_IEEE802154 enabled and 6LoWPAN disabled.
This commit is contained in:
parent
6cbf2b9130
commit
41ce937ed0
16 changed files with 141 additions and 70 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue