From 7506c552caceee913d936fde61c22ecb6ecc96c7 Mon Sep 17 00:00:00 2001 From: patacongo Date: Tue, 15 Mar 2011 01:54:49 +0000 Subject: Basic SLIP functionality -- but there are issues git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3382 42af7a65-404d-4744-a932-0658087f49c3 --- nuttx/configs/olimex-lpc1766stk/README.txt | 6 +++++- nuttx/configs/olimex-lpc1766stk/slip-httpd/defconfig | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'nuttx/configs') diff --git a/nuttx/configs/olimex-lpc1766stk/README.txt b/nuttx/configs/olimex-lpc1766stk/README.txt index 72340ffff..5a30ab9f1 100755 --- a/nuttx/configs/olimex-lpc1766stk/README.txt +++ b/nuttx/configs/olimex-lpc1766stk/README.txt @@ -811,11 +811,15 @@ Where is one of the following: 3. Reset on the target side and attach SLIP on the Linux side: $ modprobe slip - $ slattach -p slip -s 57600 /dev/ttyS0 & + $ slattach -L -p slip -s 57600 /dev/ttyS0 & This should create an interface with a name like sl0, or sl1, etc. Add -d to get debug output. This will show the interface name. + NOTE: The -L option is included to suppress use of hardware flow + control. This is necessary because I haven't figure out how to + use the UART1 hardwar flow control yet. + NOTE: The Linux slip module hard-codes its MTU size to 296. So you might as well set CONFIG_NET_BUFSIZE to 296 as well. diff --git a/nuttx/configs/olimex-lpc1766stk/slip-httpd/defconfig b/nuttx/configs/olimex-lpc1766stk/slip-httpd/defconfig index c4fd1a6d0..324207e8a 100755 --- a/nuttx/configs/olimex-lpc1766stk/slip-httpd/defconfig +++ b/nuttx/configs/olimex-lpc1766stk/slip-httpd/defconfig @@ -152,7 +152,7 @@ CONFIG_UART1_SERIAL_CONSOLE=n CONFIG_UART2_SERIAL_CONSOLE=n CONFIG_UART3_SERIAL_CONSOLE=n -CONFIG_UART1_FLOWCONTROL=y +CONFIG_UART1_FLOWCONTROL=n CONFIG_UART0_TXBUFSIZE=256 CONFIG_UART1_TXBUFSIZE=256 -- cgit v1.2.3