diff options
author | patacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679> | 2012-03-28 17:19:17 +0000 |
---|---|---|
committer | patacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679> | 2012-03-28 17:19:17 +0000 |
commit | 9e5d37dcddb921166d203682b52ce5357f9fe5d7 (patch) | |
tree | e12183151cf2f149ff8319895a151c458db3ba01 /apps/examples/README.txt | |
parent | 07e5222a418853f4a9c4eede819afd1da4fa386f (diff) | |
download | px4-firmware-9e5d37dcddb921166d203682b52ce5357f9fe5d7.tar.gz px4-firmware-9e5d37dcddb921166d203682b52ce5357f9fe5d7.tar.bz2 px4-firmware-9e5d37dcddb921166d203682b52ce5357f9fe5d7.zip |
NX console should only be available if NX multi-user mode is enabled
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4535 7fd9a85b-ad96-42d3-883c-3090e2eb8679
Diffstat (limited to 'apps/examples/README.txt')
-rw-r--r-- | apps/examples/README.txt | 29 |
1 files changed, 15 insertions, 14 deletions
diff --git a/apps/examples/README.txt b/apps/examples/README.txt index 01d4fb0ec..6cd1051bc 100644 --- a/apps/examples/README.txt +++ b/apps/examples/README.txt @@ -618,8 +618,19 @@ examples/nxconsole ^^^^^^^^^^^^^^^^^^ This directory contains a simple test of the NX console device defined in - include/nuttx/nx/nxconsole.h. The following configuration options - can be selected: + include/nuttx/nx/nxconsole.h. 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 + CONFIG_NX_MULTIUSER=y -- NX multi-user support must be enabled. + CONFIG_DISABLE_MQUEUE=n -- Message queue support must be available. + CONFIG_DISABLE_SIGNALS=n -- Signals are needed + CONFIG_DISABLE_PTHREAD=n -- pthreads are needed + CONFIG_NX_BLOCKING=y -- pthread APIs must be blocking + + 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 @@ -659,10 +670,8 @@ examples/nxconsole NX console device corresponding to CONFIG_EXAMPLES_NXCON_MINOR. Default: "/dev/nxcon0" - This test can be performed with either the single-user version of - NX or with the multiple user version of NX selected with CONFIG_NX_MULTIUSER. - If CONFIG_NX_MULTIUSER is defined, then the following configuration - options also apply: + The following configuration settings determine how to set up the NX + server (CONFIG_NX_MULTIUSER): CONFIG_EXAMPLES_NXCON_STACKSIZE -- The stacksize to use when creating the NX server. Default 2048 @@ -673,14 +682,6 @@ examples/nxconsole CONFIG_EXAMPLES_NXCON_NOTIFYSIGNO -- The signal number to use with nx_eventnotify(). Default: 4 - If CONFIG_NX_MULTIUSER is defined, then the example also expects the - following settings and will generate an error if they are not as expected: - - CONFIG_DISABLE_MQUEUE=n - CONFIG_DISABLE_SIGNALS=n - CONFIG_DISABLE_PTHREAD=n - CONFIG_NX_BLOCKING=y - examples/nxffs ^^^^^^^^^^^^^^ |