diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2008-11-19 00:23:19 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2008-11-19 00:23:19 +0000 |
commit | 887dd4d87046cee330cd157e990f905e9e5a5f3b (patch) | |
tree | 5f2c5f7b696ef72ff6f75bb2ad3e7a6b7da00e18 /nuttx | |
parent | 12fea7b870a9f399aa99d9c7f75880e47cd56bf7 (diff) | |
download | px4-nuttx-887dd4d87046cee330cd157e990f905e9e5a5f3b.tar.gz px4-nuttx-887dd4d87046cee330cd157e990f905e9e5a5f3b.tar.bz2 px4-nuttx-887dd4d87046cee330cd157e990f905e9e5a5f3b.zip |
Add configuration settings necessary to use poll()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1283 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx')
-rw-r--r-- | nuttx/Documentation/NuttxUserGuide.html | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/nuttx/Documentation/NuttxUserGuide.html b/nuttx/Documentation/NuttxUserGuide.html index 99ff9563f..43eed8c2e 100644 --- a/nuttx/Documentation/NuttxUserGuide.html +++ b/nuttx/Documentation/NuttxUserGuide.html @@ -6051,6 +6051,25 @@ interface of the same name. one of the events occurs. </p> <p> + <b>Configuration Settings</b>. + In order to use the <code>poll()</code> API, the following must be defined + in your NuttX configuration file: +</p> +<ul> + <li><code>CONFIG_NFILE_DESCRIPTORS</code> Defined to be greater than 0</li> + <li><code>CONFIG_DISABLE_POLL</code> NOT defined</li> +</ul> +<p> + In order to use the select with TCP/IP sockets test, you must also have the following additional things + selected in your NuttX configuration file: +</p> +<ul> + <li><code>CONFIG_NET</code> Defined for general network support</li> + <li><code>CONFIG_NET_TCP</code> Defined for TCP/IP support</li> + <li><code>CONFIG_NSOCKET_DESCRIPTORS</code> Defined to be greater than 0</li> + <li><code>CONFIG_NET_NTCP_READAHEAD_BUFFERS</code> Defined to be greater than zero</li> +</ul> +<p> <b>Input Parameters:</b> </p> <ul> |