Update some comments.

This commit is contained in:
Gregory Nutt 2017-09-23 12:39:01 -06:00
parent 267521af9b
commit c221af2f72
3 changed files with 23 additions and 3 deletions

View File

@ -8,7 +8,27 @@ config EXAMPLES_FLOWC
default n
depends on SERIAL_TERMIOS
---help---
Enable the serial hardware flow control test
Enable the serial hardware flow control test.
Serial termios support must be enabled.
CONFIG_SERIAL_TERMIOS=y
In addtion, you will need these related serial driver settings (the
actual values of the watermark setting may be tuned to suit your
preferences)
CONFIG_SERIAL_IFLOWCONTROL=y
CONFIG_SERIAL_IFLOWCONTROL_WATERMARKS=y
CONFIG_SERIAL_IFLOWCONTROL_LOWER_WATERMARK=25
CONFIG_SERIAL_IFLOWCONTROL_UPPER_WATERMARK=75
And for the CDC/ACM driver in particular:
CONFIG_CDCACM_IFLOWCONTROL=y
There are hooks in place for output flow control but these have not
been exercised.
if EXAMPLES_FLOWC

View File

@ -2,7 +2,7 @@
# apps/examples/flowc/Make.defs
# Adds selected applications to apps/ build
#
# Copyright (C) 2015 Gregory Nutt. All rights reserved.
# Copyright (C) 2017 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org>
#
# Redistribution and use in source and binary forms, with or without

View File

@ -1,7 +1,7 @@
############################################################################
# apps/examples/flowc/Makefile
#
# Copyright (C) 2007-2008, 2011-2012, 2014, 2017 Gregory Nutt. All rights reserved.
# Copyright (C) 2017 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org>
#
# Redistribution and use in source and binary forms, with or without