NX console updates
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4534 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
parent
1cc267ca85
commit
9184b5854c
@ -367,8 +367,14 @@ nx11
|
|||||||
examples/nxconsole
|
examples/nxconsole
|
||||||
------------------
|
------------------
|
||||||
This configuration is also set up to use the examples/nxconsole
|
This configuration is also set up to use the examples/nxconsole
|
||||||
test instead of examples/nx. Simply comment out the following
|
test instead of examples/nx. To enable this configuration,
|
||||||
in the appconfig file:
|
First, select Multi-User mode as described above. Then add the
|
||||||
|
following definitions to the defconfig file:
|
||||||
|
|
||||||
|
-CONFIG_NXCONSOLE=n
|
||||||
|
+CONFIG_NXCONSOLE=y
|
||||||
|
|
||||||
|
Comment out the following in the appconfig file:
|
||||||
|
|
||||||
-CONFIGURED_APPS += examples/nx
|
-CONFIGURED_APPS += examples/nx
|
||||||
+#CONFIGURED_APPS += examples/nx
|
+#CONFIGURED_APPS += examples/nx
|
||||||
|
@ -48,3 +48,8 @@ CONFIGURED_APPS += examples/nx
|
|||||||
CONFIGURED_APPS += examples/nxhello
|
CONFIGURED_APPS += examples/nxhello
|
||||||
CONFIGURED_APPS += examples/nxlines
|
CONFIGURED_APPS += examples/nxlines
|
||||||
CONFIGURED_APPS += examples/touchscreen
|
CONFIGURED_APPS += examples/touchscreen
|
||||||
|
|
||||||
|
ifeq ($(CONFIG_NXCONSOLE),y)
|
||||||
|
CONFIGURED_APPS += examples/nxconsole
|
||||||
|
endif
|
||||||
|
|
||||||
|
@ -424,6 +424,8 @@ CONFIG_NX_MXCLIENTMSGS=16
|
|||||||
#
|
#
|
||||||
# NxConsole Configuration Settings:
|
# NxConsole Configuration Settings:
|
||||||
#
|
#
|
||||||
|
# CONFIG_NXCONSOLE
|
||||||
|
# Enables building of the NxConsole driver.
|
||||||
# CONFIG_NXCONSOLE_BPP
|
# CONFIG_NXCONSOLE_BPP
|
||||||
# Currently, NxConsole supports only a single pixel depth. This
|
# Currently, NxConsole supports only a single pixel depth. This
|
||||||
# configuration setting must be provided to support that single pixel depth.
|
# configuration setting must be provided to support that single pixel depth.
|
||||||
@ -452,6 +454,7 @@ CONFIG_NX_MXCLIENTMSGS=16
|
|||||||
# of the window. This setting can be defining to change this behavior so
|
# of the window. This setting can be defining to change this behavior so
|
||||||
# that the text is simply truncated until a new line is encountered.
|
# that the text is simply truncated until a new line is encountered.
|
||||||
#
|
#
|
||||||
|
CONFIG_NXCONSOLE=n
|
||||||
CONFIG_NXCONSOLE_BPP=8
|
CONFIG_NXCONSOLE_BPP=8
|
||||||
# CONFIG_NXCONSOLE_NOGETRUN
|
# CONFIG_NXCONSOLE_NOGETRUN
|
||||||
# CONFIG_NXCONSOLE_MXCHARS
|
# CONFIG_NXCONSOLE_MXCHARS
|
||||||
|
@ -425,6 +425,8 @@ CONFIG_NX_MXCLIENTMSGS=16
|
|||||||
#
|
#
|
||||||
# NxConsole Configuration Settings:
|
# NxConsole Configuration Settings:
|
||||||
#
|
#
|
||||||
|
# CONFIG_NXCONSOLE
|
||||||
|
# Enables building of the NxConsole driver.
|
||||||
# CONFIG_NXCONSOLE_BPP
|
# CONFIG_NXCONSOLE_BPP
|
||||||
# Currently, NxConsole supports only a single pixel depth. This
|
# Currently, NxConsole supports only a single pixel depth. This
|
||||||
# configuration setting must be provided to support that single pixel depth.
|
# configuration setting must be provided to support that single pixel depth.
|
||||||
@ -453,6 +455,7 @@ CONFIG_NX_MXCLIENTMSGS=16
|
|||||||
# of the window. This setting can be defining to change this behavior so
|
# of the window. This setting can be defining to change this behavior so
|
||||||
# that the text is simply truncated until a new line is encountered.
|
# that the text is simply truncated until a new line is encountered.
|
||||||
#
|
#
|
||||||
|
CONFIG_NXCONSOLE=n
|
||||||
CONFIG_NXCONSOLE_BPP=32
|
CONFIG_NXCONSOLE_BPP=32
|
||||||
# CONFIG_NXCONSOLE_NOGETRUN
|
# CONFIG_NXCONSOLE_NOGETRUN
|
||||||
# CONFIG_NXCONSOLE_MXCHARS
|
# CONFIG_NXCONSOLE_MXCHARS
|
||||||
|
@ -50,9 +50,12 @@ CONFIGURED_APPS += examples/nx
|
|||||||
CONFIGURED_APPS += examples/nxhello
|
CONFIGURED_APPS += examples/nxhello
|
||||||
#CONFIGURED_APPS += examples/nxlines
|
#CONFIGURED_APPS += examples/nxlines
|
||||||
#CONFIGURED_APPS += examples/nxtext
|
#CONFIGURED_APPS += examples/nxtext
|
||||||
#CONFIGURED_APPS += examples/nxconsole
|
|
||||||
CONFIGURED_APPS += examples/usbstorage
|
CONFIGURED_APPS += examples/usbstorage
|
||||||
|
|
||||||
|
ifeq ($(CONFIG_NXCONSOLE),y)
|
||||||
|
CONFIGURED_APPS += examples/nxconsole
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(CONFIG_I2C),y)
|
ifeq ($(CONFIG_I2C),y)
|
||||||
CONFIGURED_APPS += system/i2c
|
CONFIGURED_APPS += system/i2c
|
||||||
endif
|
endif
|
||||||
|
@ -1043,6 +1043,8 @@ CONFIG_NX_MXCLIENTMSGS=16
|
|||||||
#
|
#
|
||||||
# NxConsole Configuration Settings:
|
# NxConsole Configuration Settings:
|
||||||
#
|
#
|
||||||
|
# CONFIG_NXCONSOLE
|
||||||
|
# Enables building of the NxConsole driver.
|
||||||
# CONFIG_NXCONSOLE_BPP
|
# CONFIG_NXCONSOLE_BPP
|
||||||
# Currently, NxConsole supports only a single pixel depth. This
|
# Currently, NxConsole supports only a single pixel depth. This
|
||||||
# configuration setting must be provided to support that single pixel depth.
|
# configuration setting must be provided to support that single pixel depth.
|
||||||
@ -1071,6 +1073,7 @@ CONFIG_NX_MXCLIENTMSGS=16
|
|||||||
# of the window. This setting can be defining to change this behavior so
|
# of the window. This setting can be defining to change this behavior so
|
||||||
# that the text is simply truncated until a new line is encountered.
|
# that the text is simply truncated until a new line is encountered.
|
||||||
#
|
#
|
||||||
|
CONFIG_NXCONSOLE=n
|
||||||
CONFIG_NXCONSOLE_BPP=16
|
CONFIG_NXCONSOLE_BPP=16
|
||||||
# CONFIG_NXCONSOLE_NOGETRUN
|
# CONFIG_NXCONSOLE_NOGETRUN
|
||||||
# CONFIG_NXCONSOLE_MXCHARS
|
# CONFIG_NXCONSOLE_MXCHARS
|
||||||
|
@ -893,6 +893,8 @@ CONFIG_NX_MXCLIENTMSGS=16
|
|||||||
#
|
#
|
||||||
# NxConsole Configuration Settings:
|
# NxConsole Configuration Settings:
|
||||||
#
|
#
|
||||||
|
# CONFIG_NXCONSOLE
|
||||||
|
# Enables building of the NxConsole driver.
|
||||||
# CONFIG_NXCONSOLE_BPP
|
# CONFIG_NXCONSOLE_BPP
|
||||||
# Currently, NxConsole supports only a single pixel depth. This
|
# Currently, NxConsole supports only a single pixel depth. This
|
||||||
# configuration setting must be provided to support that single pixel depth.
|
# configuration setting must be provided to support that single pixel depth.
|
||||||
@ -921,6 +923,7 @@ CONFIG_NX_MXCLIENTMSGS=16
|
|||||||
# of the window. This setting can be defining to change this behavior so
|
# of the window. This setting can be defining to change this behavior so
|
||||||
# that the text is simply truncated until a new line is encountered.
|
# that the text is simply truncated until a new line is encountered.
|
||||||
#
|
#
|
||||||
|
CONFIG_NXCONSOLE=n
|
||||||
CONFIG_NXCONSOLE_BPP=16
|
CONFIG_NXCONSOLE_BPP=16
|
||||||
# CONFIG_NXCONSOLE_NOGETRUN
|
# CONFIG_NXCONSOLE_NOGETRUN
|
||||||
# CONFIG_NXCONSOLE_MXCHARS
|
# CONFIG_NXCONSOLE_MXCHARS
|
||||||
|
@ -892,6 +892,8 @@ CONFIG_NX_MXCLIENTMSGS=16
|
|||||||
#
|
#
|
||||||
# NxConsole Configuration Settings:
|
# NxConsole Configuration Settings:
|
||||||
#
|
#
|
||||||
|
# CONFIG_NXCONSOLE
|
||||||
|
# Enables building of the NxConsole driver.
|
||||||
# CONFIG_NXCONSOLE_BPP
|
# CONFIG_NXCONSOLE_BPP
|
||||||
# Currently, NxConsole supports only a single pixel depth. This
|
# Currently, NxConsole supports only a single pixel depth. This
|
||||||
# configuration setting must be provided to support that single pixel depth.
|
# configuration setting must be provided to support that single pixel depth.
|
||||||
@ -920,6 +922,7 @@ CONFIG_NX_MXCLIENTMSGS=16
|
|||||||
# of the window. This setting can be defining to change this behavior so
|
# of the window. This setting can be defining to change this behavior so
|
||||||
# that the text is simply truncated until a new line is encountered.
|
# that the text is simply truncated until a new line is encountered.
|
||||||
#
|
#
|
||||||
|
CONFIG_NXCONSOLE=n
|
||||||
CONFIG_NXCONSOLE_BPP=16
|
CONFIG_NXCONSOLE_BPP=16
|
||||||
# CONFIG_NXCONSOLE_NOGETRUN
|
# CONFIG_NXCONSOLE_NOGETRUN
|
||||||
# CONFIG_NXCONSOLE_MXCHARS
|
# CONFIG_NXCONSOLE_MXCHARS
|
||||||
|
@ -892,6 +892,8 @@ CONFIG_NX_MXCLIENTMSGS=16
|
|||||||
#
|
#
|
||||||
# NxConsole Configuration Settings:
|
# NxConsole Configuration Settings:
|
||||||
#
|
#
|
||||||
|
# CONFIG_NXCONSOLE
|
||||||
|
# Enables building of the NxConsole driver.
|
||||||
# CONFIG_NXCONSOLE_BPP
|
# CONFIG_NXCONSOLE_BPP
|
||||||
# Currently, NxConsole supports only a single pixel depth. This
|
# Currently, NxConsole supports only a single pixel depth. This
|
||||||
# configuration setting must be provided to support that single pixel depth.
|
# configuration setting must be provided to support that single pixel depth.
|
||||||
@ -920,6 +922,7 @@ CONFIG_NX_MXCLIENTMSGS=16
|
|||||||
# of the window. This setting can be defining to change this behavior so
|
# of the window. This setting can be defining to change this behavior so
|
||||||
# that the text is simply truncated until a new line is encountered.
|
# that the text is simply truncated until a new line is encountered.
|
||||||
#
|
#
|
||||||
|
CONFIG_NXCONSOLE=n
|
||||||
CONFIG_NXCONSOLE_BPP=16
|
CONFIG_NXCONSOLE_BPP=16
|
||||||
# CONFIG_NXCONSOLE_NOGETRUN
|
# CONFIG_NXCONSOLE_NOGETRUN
|
||||||
# CONFIG_NXCONSOLE_MXCHARS
|
# CONFIG_NXCONSOLE_MXCHARS
|
||||||
|
@ -46,18 +46,12 @@
|
|||||||
# Path to example in apps/examples containing the user_start entry point
|
# Path to example in apps/examples containing the user_start entry point
|
||||||
CONFIGURED_APPS += examples/nsh
|
CONFIGURED_APPS += examples/nsh
|
||||||
|
|
||||||
# Invoke the following application after NuttX starts
|
|
||||||
#CONFIG_BUILTIN_APP_START="hello"
|
|
||||||
|
|
||||||
# Application Libraries
|
# Application Libraries
|
||||||
CONFIGURED_APPS += system/readline
|
CONFIGURED_APPS += system/readline
|
||||||
CONFIGURED_APPS += nshlib
|
CONFIGURED_APPS += nshlib
|
||||||
|
|
||||||
# Individual selection of built-in applications:
|
# Individual selection of built-in applications:
|
||||||
|
|
||||||
# Hello world provide a simple skeleton/demo application
|
|
||||||
CONFIGURED_APPS += vsn/hello
|
|
||||||
|
|
||||||
# Provide poweroff command to switch off the board
|
# Provide poweroff command to switch off the board
|
||||||
CONFIGURED_APPS += vsn/poweroff
|
CONFIGURED_APPS += vsn/poweroff
|
||||||
|
|
||||||
@ -79,5 +73,3 @@ CONFIGURED_APPS += system/free
|
|||||||
# Provide FLASH program installation support
|
# Provide FLASH program installation support
|
||||||
CONFIGURED_APPS += system/install
|
CONFIGURED_APPS += system/install
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user