From d8c1d769c45dde09573ea6ba3f968491cc5e68b2 Mon Sep 17 00:00:00 2001 From: patacongo Date: Wed, 19 Nov 2008 18:43:50 +0000 Subject: 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 --- nuttx/examples/README.txt | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'nuttx/examples/README.txt') 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: -- cgit v1.2.3