diff options
author | patacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679> | 2012-02-01 19:47:12 +0000 |
---|---|---|
committer | patacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679> | 2012-02-01 19:47:12 +0000 |
commit | 2a2655f8e0dc040d62c3c6d19bc298fc0ebb3f64 (patch) | |
tree | 9b5b0a7b3d6180141c3f9d959b6c04647e4a6810 /apps/examples/README.txt | |
parent | 6a4e8b32b36f90188dd0a1a961c99b2bc825b627 (diff) | |
download | px4-firmware-2a2655f8e0dc040d62c3c6d19bc298fc0ebb3f64.tar.gz px4-firmware-2a2655f8e0dc040d62c3c6d19bc298fc0ebb3f64.tar.bz2 px4-firmware-2a2655f8e0dc040d62c3c6d19bc298fc0ebb3f64.zip |
Use realine instead of fgets in several other places
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4357 7fd9a85b-ad96-42d3-883c-3090e2eb8679
Diffstat (limited to 'apps/examples/README.txt')
-rw-r--r-- | apps/examples/README.txt | 37 |
1 files changed, 34 insertions, 3 deletions
diff --git a/apps/examples/README.txt b/apps/examples/README.txt index b14d19b84..a8af257d7 100644 --- a/apps/examples/README.txt +++ b/apps/examples/README.txt @@ -244,9 +244,20 @@ examples/ftpc where xx.xx.xx.xx is the IP address of the FTP server and pp is an optional port number. - NOTE: The ftpc task uses the system console for input/output. It will - not work from NSH over a telnet NSH connection (Well, it will work you - just won't be able to access the command line). + NOTE: By default, FTPC uses readline to get data from stdin. So your + appconfig file must have the following build path: + + CONFIGURED_APPS += system/readline + + NOTE: If you use the ftpc task over a telnet NSH connection, then you + should set the following configuration item: + + CONFIG_EXAMPLES_FTPC_FGETS=y + + By default, the FTPC client will use readline() to get characters from + the console. Readline includes and command-line editor and echos + characters received in stdin back through stdout. Neither of these + behaviors are desire-able if Telnet is used. You may also want to define the following in your configuration file. Otherwise, you will have not feeback about what is going on: @@ -393,6 +404,11 @@ examples/nsh CONFIGURED_APPS += nshlib + NOTE: If the NSH serial console is used, then following is also + required to build the readline() library: + + CONFIGURED_APPS += system/readline + And if networking is included: CONFIGURED_APPS += uiplib @@ -1257,6 +1273,21 @@ examples/usbterm CONFIG_EXAMPLES_USBTERM_TRACEINTERRUPTS Show interrupt-related events. + NOTE: By default, USBterm uses readline to get data from stdin. So your + appconfig file must have the following build path: + + CONFIGURED_APPS += system/readline + + NOTE: If you use the USBterm task over a telnet NSH connection, then you + should set the following configuration item: + + CONFIG_EXAMPLES_USBTERM_FGETS=y + + By default, the USBterm client will use readline() to get characters from + the console. Readline includes and command-line editor and echos + characters received in stdin back through stdout. Neither of these + behaviors are desire-able if Telnet is used. + Error results are always shown in the trace output Other relevant configuration options: CONFIG_CDCACM selected by the |