summaryrefslogtreecommitdiff
path: root/apps/examples/README.txt
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-03-29 22:20:47 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-03-29 22:20:47 +0000
commit67ea31797d0a81295664484a61aebd54607f3c86 (patch)
treeffdeb3afd707f0c9bd41edbf3a2e48756fbc8065 /apps/examples/README.txt
parent3e62f2be816d0a212b52fd609121004b16d80a8a (diff)
downloadpx4-nuttx-67ea31797d0a81295664484a61aebd54607f3c86.tar.gz
px4-nuttx-67ea31797d0a81295664484a61aebd54607f3c86.tar.bz2
px4-nuttx-67ea31797d0a81295664484a61aebd54607f3c86.zip
Can now run an NSH session within an NX window
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4539 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'apps/examples/README.txt')
-rw-r--r--apps/examples/README.txt15
1 files changed, 10 insertions, 5 deletions
diff --git a/apps/examples/README.txt b/apps/examples/README.txt
index 6cd1051bc..ec636cd6d 100644
--- a/apps/examples/README.txt
+++ b/apps/examples/README.txt
@@ -617,9 +617,11 @@ examples/nx
examples/nxconsole
^^^^^^^^^^^^^^^^^^
- This directory contains a simple test of the NX console device defined in
- include/nuttx/nx/nxconsole.h. Prerequisite configuration settings for this
- test include:
+ This directory contains yet another version of the NuttShell (NSH). This
+ version uses the NX console device defined in include/nuttx/nx/nxconsole.h
+ for output. the result is that the NSH input still come from the standard
+ console input (probably a serial console). But the text output will go to
+ an NX winbdow. Prerequisite configuration settings for this test include:
CONFIG_NX=y -- NX graphics must be enabled
CONFIG_NXCONSOLE=y -- The NX console driver must be built
@@ -628,12 +630,11 @@ examples/nxconsole
CONFIG_DISABLE_SIGNALS=n -- Signals are needed
CONFIG_DISABLE_PTHREAD=n -- pthreads are needed
CONFIG_NX_BLOCKING=y -- pthread APIs must be blocking
+ CONFIG_NSH_CONSOLE=y -- NSH must be configured to use a console.
The following configuration options can be selected to customize the
test:
- CONFIG_NSH_BUILTIN_APPS -- Build the NX example as a "built-in"
- that can be executed from the NSH command line
CONFIG_EXAMPLES_NXCON_VPLANE -- The plane to select from the frame-
buffer driver for use in the test. Default: 0
CONFIG_EXAMPLES_NXCON_DEVNO - The LCD device to select from the LCD
@@ -669,6 +670,10 @@ examples/nxconsole
CONFIG_EXAMPLES_NXCON_DEVNAME -- The quoated, full path to the
NX console device corresponding to CONFIG_EXAMPLES_NXCON_MINOR.
Default: "/dev/nxcon0"
+ CONFIG_EXAMPLES_NXCONSOLE_PRIO - Priority of the NxConsole task.
+ Default: SCHED_PRIORITY_DEFAULT
+ CONFIG_EXAMPLES_NXCONSOLE_STACKSIZE - Stack size allocated for the
+ NxConsole task. Default: 2048
The following configuration settings determine how to set up the NX
server (CONFIG_NX_MULTIUSER):