diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-03-15 01:54:49 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-03-15 01:54:49 +0000 |
commit | 7506c552caceee913d936fde61c22ecb6ecc96c7 (patch) | |
tree | e1d082f0902d82e0bed238e434c275440e5de545 /nuttx/configs/olimex-lpc1766stk | |
parent | b2a7bfbb51f5bf8b34ea593f3b5e76aecf9161ea (diff) | |
download | px4-nuttx-7506c552caceee913d936fde61c22ecb6ecc96c7.tar.gz px4-nuttx-7506c552caceee913d936fde61c22ecb6ecc96c7.tar.bz2 px4-nuttx-7506c552caceee913d936fde61c22ecb6ecc96c7.zip |
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
Diffstat (limited to 'nuttx/configs/olimex-lpc1766stk')
-rwxr-xr-x | nuttx/configs/olimex-lpc1766stk/README.txt | 6 | ||||
-rwxr-xr-x | nuttx/configs/olimex-lpc1766stk/slip-httpd/defconfig | 2 |
2 files changed, 6 insertions, 2 deletions
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 <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.
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 |