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
This commit is contained in:
parent
95326c6513
commit
7e2dda9617
@ -811,11 +811,15 @@ Where <subdir> 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.
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user