summaryrefslogtreecommitdiff
path: root/apps/NxWidgets/Kconfig
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2013-12-29 09:46:57 -0600
committerGregory Nutt <gnutt@nuttx.org>2013-12-29 09:46:57 -0600
commit513671256fe287033b8874d352fdf34bf6a14bea (patch)
treec92e6af03ccf0db0e7bc0492c37bdd1587e09e3d /apps/NxWidgets/Kconfig
parent500e0bf8574e8257e709d4a45a2d8b6c84b9a8c4 (diff)
downloadnuttx-513671256fe287033b8874d352fdf34bf6a14bea.tar.gz
nuttx-513671256fe287033b8874d352fdf34bf6a14bea.tar.bz2
nuttx-513671256fe287033b8874d352fdf34bf6a14bea.zip
NxWidgets server initialization must be performed in the kernel when NxWdigets is built in kernel mode
Diffstat (limited to 'apps/NxWidgets/Kconfig')
-rw-r--r--apps/NxWidgets/Kconfig31
1 files changed, 27 insertions, 4 deletions
diff --git a/apps/NxWidgets/Kconfig b/apps/NxWidgets/Kconfig
index 0ee006aba..b6ac4fb7d 100644
--- a/apps/NxWidgets/Kconfig
+++ b/apps/NxWidgets/Kconfig
@@ -26,9 +26,17 @@ config NXWIDGETS_FLICKERFREE
lower-performance flicker-reductions measures where-ever thay may
be available.
+config NXWIDGETS_EXTERNINIT
+ bool "External display Initialization"
+ default 0
+ depends on NXWIDGET_SERVERINIT
+ ---help---
+ Define to support external display initialization.
+
config NXWIDGETS_DEVNO
int "LCD Device Number"
default 0
+ depends on NXWIDGETS_EXTERNINIT || NX_LCDDRIVER
---help---
LCD device number (in case there are more than one LCDs connected).
Default: 0
@@ -39,6 +47,22 @@ config NXWIDGETS_VPLANE
---help---
Only a single video plane is supported. Default: 0
+if NX_MULTIUSER
+
+config NXWIDGET_SERVERINIT
+ bool "Start server"
+ default y
+ depends on !NUTTX_KERNEL
+ ---help---
+ If this option is selected, then the NxWidgets::CNxServer class will
+ bring up the NX server when it is initialized. If this option is
+ not selected then the NxWidgets::CNxServer constructor
+ initialization logic will assume that the NX server has been started
+ by other, external logic and will simply attempt to connect to the
+ server.
+
+if NXWIDGET_SERVERINIT
+
config NXWIDGETS_SERVERPRIO
int "NX Server priority"
default 110
@@ -57,6 +81,8 @@ config NXWIDGETS_SERVERSTACK
---help---
NX server thread stack size (in multi-user mode). Default 2048
+endif # NXWIDGET_SERVERINIT
+
config NXWIDGETS_CLIENTPRIO
int "NX Client Priority"
default 100
@@ -78,10 +104,7 @@ config NXWIDGETS_LISTENERSTACK
---help---
NX listener thread stack size (in multi-user mode). Default 2048
-config NXWIDGETS_EXTERNINIT
- bool "Extern LCD Initialization"
- ---help---
- Define to support external display initialization.
+endif # NX_MULTIUSER
config NXWIDGET_EVENTWAIT
bool "Event Waiting"