diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2008-11-19 18:43:50 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2008-11-19 18:43:50 +0000 |
commit | d8c1d769c45dde09573ea6ba3f968491cc5e68b2 (patch) | |
tree | 6a6105e2401ec7e9eb4e590c49c3121b2c4b82ae /nuttx/examples/README.txt | |
parent | b62fb5c894ea28ccc83c5760605f5322bf38f971 (diff) | |
download | nuttx-d8c1d769c45dde09573ea6ba3f968491cc5e68b2.tar.gz nuttx-d8c1d769c45dde09573ea6ba3f968491cc5e68b2.tar.bz2 nuttx-d8c1d769c45dde09573ea6ba3f968491cc5e68b2.zip |
Move poll save area back into struct pollfd (as it was
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1288 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/examples/README.txt')
-rw-r--r-- | nuttx/examples/README.txt | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/nuttx/examples/README.txt b/nuttx/examples/README.txt index 58de1ff8a..f6528e5f4 100644 --- a/nuttx/examples/README.txt +++ b/nuttx/examples/README.txt @@ -99,8 +99,7 @@ examples/poll ^^^^^^^^^^^^^ A test of the poll() and select() APIs using FIFOs and, if available, - stdin, and a TCP/IP socket. This example also includes a nice select - based TCP/IP server example. In order to build this test, you must the + stdin, and a TCP/IP socket. In order to build this test, you must the following selected in your NuttX configuration file: CONFIG_NFILE_DESCRIPTORS - Defined to be greater than 0 @@ -114,6 +113,11 @@ examples/poll CONFIG_NSOCKET_DESCRIPTORS - Defined to be greater than 0 CONFIG_NET_NTCP_READAHEAD_BUFFERS - Defined to be greater than zero + CONFIG_EXAMPLE_POLL_NOMAC - (May be defined to use software assigned MAC) + CONFIG_EXAMPLE_POLL_IPADDR - Target IP address + CONFIG_EXAMPLE_POLL_DRIPADDR - Default router IP addess + CONFIG_EXAMPLE_POLL_NETMASK - Network mask + In additional to the target device-side example, there is also a host-side application in this directory. It can be compiled under Linux or Cygwin as follows: |