SLIP is now basically functional

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3386 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo
2011-03-16 02:10:51 +00:00
parent 3bdbb5fcaa
commit 48b7fd9503
5 changed files with 27 additions and 8 deletions
+3
View File
@@ -1570,3 +1570,6 @@
PullUp/Down Input Configuration. PullUp/Down Input Configuration.
* arch/arm/src/lpc17xx/lpc17_serial.h -- Now supports Auto-RTS and * arch/arm/src/lpc17xx/lpc17_serial.h -- Now supports Auto-RTS and
Auto-CTS modes. This is needed to support SLIP. Auto-CTS modes. This is needed to support SLIP.
* drivers/net/slip.c -- SLIP is now basically functional on the
LPC17xx with some caveats as described in the TODO list under
LPC17xx.
+4 -1
View File
@@ -8,7 +8,7 @@
<tr align="center" bgcolor="#e4e4e4"> <tr align="center" bgcolor="#e4e4e4">
<td> <td>
<h1><big><font color="#3c34ec"><i>NuttX RTOS</i></font></big></h1> <h1><big><font color="#3c34ec"><i>NuttX RTOS</i></font></big></h1>
<p>Last Updated: March 14, 2011</p> <p>Last Updated: March 15, 2011</p>
</td> </td>
</tr> </tr>
</table> </table>
@@ -2197,6 +2197,9 @@ nuttx-5.20 2011-xx-xx Gregory Nutt &lt;spudmonkey@racsa.co.cr&gt;
PullUp/Down Input Configuration. PullUp/Down Input Configuration.
* arch/arm/src/lpc17xx/lpc17_serial.h -- Now supports Auto-RTS and * arch/arm/src/lpc17xx/lpc17_serial.h -- Now supports Auto-RTS and
Auto-CTS modes. This is needed to support SLIP. Auto-CTS modes. This is needed to support SLIP.
* drivers/net/slip.c -- SLIP is now basically functional on the
LPC17xx with some caveats as described in the TODO list under
LPC17xx.
apps-5.20 2011-xx-xx Gregory Nutt &lt;spudmonkey@racsa.co.cr&gt; apps-5.20 2011-xx-xx Gregory Nutt &lt;spudmonkey@racsa.co.cr&gt;
+9 -1
View File
@@ -24,7 +24,7 @@ NuttX TODO List (Last updated March 15, 2011)
(1) ARM/C5471 (arch/arm/src/c5471/) (1) ARM/C5471 (arch/arm/src/c5471/)
(3) ARM/DM320 (arch/arm/src/dm320/) (3) ARM/DM320 (arch/arm/src/dm320/)
(2) ARM/i.MX (arch/arm/src/imx/) (2) ARM/i.MX (arch/arm/src/imx/)
(3) ARM/LPC17xx (arch/arm/src/lpc17xx/) (4) ARM/LPC17xx (arch/arm/src/lpc17xx/)
(7) ARM/LPC214x (arch/arm/src/lpc214x/) (7) ARM/LPC214x (arch/arm/src/lpc214x/)
(2) ARM/LPC313x (arch/arm/src/lpc313x/) (2) ARM/LPC313x (arch/arm/src/lpc313x/)
(3) ARM/STR71x (arch/arm/src/str71x/) (3) ARM/STR71x (arch/arm/src/str71x/)
@@ -779,6 +779,14 @@ o ARM/LPC17xx (arch/arm/src/lpc17xx/)
Status: Open Status: Open
Priority: Medium-Low (unless you need the display on the LPC1766STK!) Priority: Medium-Low (unless you need the display on the LPC1766STK!)
Description: SLIP (Configuration olimex-lpc1766stk/slip-httpd) only works with VERBOSE
debug disabled. For some reason, certain debug statements hang(?).
Also, this example does not use UART1's hardware flow control. UART1
hardware flow control is partially implemented but does not behave as
expected. It needs a little more work.
Status: Open
Priority: Low
o ARM/LPC214x (arch/arm/src/lpc214x/) o ARM/LPC214x (arch/arm/src/lpc214x/)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+8 -1
View File
@@ -838,10 +838,17 @@ Where <subdir> is one of the following:
$ tcpdump -n -nn -i sl0 -x -X -s 1500 $ tcpdump -n -nn -i sl0 -x -X -s 1500
NOTES: Only UART1 supports the hardware handshake. If hardware NOTE: Only UART1 supports the hardware handshake. If hardware
handshake is not available, then you might try the slattach option handshake is not available, then you might try the slattach option
-L which is supposed to enable "3-wire operation." -L which is supposed to enable "3-wire operation."
NOTE: This configurat only works with VERBOSE debug disabled. For some
reason, certain debug statements hang(?).
NOTE: This example does not use UART1's hardware flow control. UART1
hardware flow control is partially implemented but does not behave as
expected. It needs a little more work.
thttpd: thttpd:
This builds the THTTPD web server example using the THTTPD and This builds the THTTPD web server example using the THTTPD and
the examples/thttpd application. the examples/thttpd application.
+1 -3
View File
@@ -277,8 +277,7 @@ static uint16_t send_interrupt(struct uip_driver_s *dev, void *pvconn,
* should already be in the ARP table. * should already be in the ARP table.
*/ */
#ifdef CONFIG_NET_ETHERNET #if defined(CONFIG_NET_ETHERNET) && defined (CONFIG_NET_ARP_IPIN)
#ifndef CONFIG_NET_ARP_IPIN
if (pstate->snd_sent != 0 || uip_arp_find(conn->ripaddr) != NULL) if (pstate->snd_sent != 0 || uip_arp_find(conn->ripaddr) != NULL)
#endif #endif
{ {
@@ -294,7 +293,6 @@ static uint16_t send_interrupt(struct uip_driver_s *dev, void *pvconn,
pstate->snd_time = g_system_timer; pstate->snd_time = g_system_timer;
#endif #endif
} }
#endif /* CONFIG_NET_ETHERNET */
} }
/* All data has been send and we are just waiting for ACK or re-transmit /* All data has been send and we are just waiting for ACK or re-transmit