diff options
Diffstat (limited to 'nuttx/configs')
-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 |