Rename CONFIG_EXAMPLES_NXCONSOLE to CONFIG_EXAMPLES_NXTERM; rename CONFIG_NXWM_NXCONSOLE to CONFIG_NXWM_NXTERM

This commit is contained in:
Gregory Nutt 2014-09-20 14:25:51 -06:00
parent e02f2f9373
commit d0fe4a6ec5
6 changed files with 32 additions and 32 deletions

View File

@ -677,16 +677,16 @@ endmenu # Start Window Configuration
menu "NxConsole Window Settings" menu "NxConsole Window Settings"
config NXWM_NXCONSOLE config NXWM_NXTERM
bool "NxConsole Window" bool "NxConsole Window"
default y default y
---help--- ---help---
Enable support for the NxConsole window which provides a text window Enable support for the NxConsole window which provides a text window
in which you can interact with NSH. in which you can interact with NSH.
if NXWM_NXCONSOLE if NXWM_NXTERM
config NXWM_NXCONSOLE_PRIO config NXWM_NXTERM_PRIO
int "NxConsole Task Priority" int "NxConsole Task Priority"
default 100 default 100
---help--- ---help---
@ -696,14 +696,14 @@ config NXWM_NXCONSOLE_PRIO
else there may be data overrun errors. Such errors would most likely else there may be data overrun errors. Such errors would most likely
appear as duplicated rows of data on the display. appear as duplicated rows of data on the display.
config NXWM_NXCONSOLE_STACKSIZE config NXWM_NXTERM_STACKSIZE
int "NxConsole Task Stack Size" int "NxConsole Task Stack Size"
default 2048 default 2048
---help--- ---help---
The stack size to use when starting the NxConsole task. Default: The stack size to use when starting the NxConsole task. Default:
2048 bytes. 2048 bytes.
config NXWM_NXCONSOLE_CUSTOM_COLORS config NXWM_NXTERM_CUSTOM_COLORS
bool "Custom NxConsole Colors" bool "Custom NxConsole Colors"
default n default n
---help--- ---help---
@ -712,55 +712,55 @@ config NXWM_NXCONSOLE_CUSTOM_COLORS
(there are no default colors because the hexadecimal representation (there are no default colors because the hexadecimal representation
of the default colors depend on the pixel depth). Default: n of the default colors depend on the pixel depth). Default: n
if NXWM_NXCONSOLE_CUSTOM_COLORS if NXWM_NXTERM_CUSTOM_COLORS
config NXWM_NXCONSOLE_WCOLOR config NXWM_NXTERM_WCOLOR
hex "NxConsole Background Color" hex "NxConsole Background Color"
---help--- ---help---
The color of the NxConsole window background. Default: The color of the NxConsole window background. Default:
RGB(192,192,192) RGB(192,192,192)
config NXWM_NXCONSOLE_FONTCOLOR config NXWM_NXTERM_FONTCOLOR
hex "NxConsole Font Color" hex "NxConsole Font Color"
---help--- ---help---
The color of the fonts to use in the NxConsole window. The color of the fonts to use in the NxConsole window.
Default: RGB(0,0,0) Default: RGB(0,0,0)
endif # NXWM_NXCONSOLE_CUSTOM_COLORS endif # NXWM_NXTERM_CUSTOM_COLORS
config NXWM_NXCONSOLE_CUSTOM_FONTID config NXWM_NXTERM_CUSTOM_FONTID
bool "Use Custom Default Font" bool "Use Custom Default Font"
default n default n
---help--- ---help---
Set to override the NxWM default font id (NXWM_DEFAULT_FONTID). Set to override the NxWM default font id (NXWM_DEFAULT_FONTID).
if NXWM_NXCONSOLE_CUSTOM_FONTID if NXWM_NXTERM_CUSTOM_FONTID
config NXWM_NXCONSOLE_FONTID config NXWM_NXTERM_FONTID
int "NxConsole Font ID" int "NxConsole Font ID"
default 0 default 0
---help--- ---help---
Use this default font ID in the NxConsole window instead of the Use this default font ID in the NxConsole window instead of the
NxWM font ID (NXWM_DEFAULT_FONTID). Default: 0 NxWM font ID (NXWM_DEFAULT_FONTID). Default: 0
endif # NXWM_NXCONSOLE_CUSTOM_FONTID endif # NXWM_NXTERM_CUSTOM_FONTID
config NXWM_CUSTOM_NXCONSOLE_ICON config NXWM_CUSTOM_NXTERM_ICON
bool "Custom NxConsole Icon" bool "Custom NxConsole Icon"
default n default n
---help--- ---help---
Select to override the default NxConsole Window Icon: NxWM::g_cmdBitmap Select to override the default NxConsole Window Icon: NxWM::g_cmdBitmap
if NXWM_CUSTOM_NXCONSOLE_ICON if NXWM_CUSTOM_NXTERM_ICON
config NXWM_NXCONSOLE_ICON config NXWM_NXTERM_ICON
string "NxConsole Icon" string "NxConsole Icon"
default "NxWM::g_cmdBitmap" default "NxWM::g_cmdBitmap"
---help--- ---help---
The glyph to use as the NxConsole icon. Default: NxWM::g_cmdBitmap The glyph to use as the NxConsole icon. Default: NxWM::g_cmdBitmap
endif # NXWM_NXCONSOLE_ICON endif # NXWM_NXTERM_ICON
endif # NXWM_NXCONSOLE endif # NXWM_NXTERM
endmenu # NxConsole Window Settings endmenu # NxConsole Window Settings
menu "NxWM Touchscreen Configuration" menu "NxWM Touchscreen Configuration"

View File

@ -154,7 +154,7 @@ ifeq ($(CONFIG_EXAMPLES_NX),y)
CONFIGURED_APPS += examples/nx CONFIGURED_APPS += examples/nx
endif endif
ifeq ($(CONFIG_EXAMPLES_NXCONSOLE),y) ifeq ($(CONFIG_EXAMPLES_NXTERM),y)
CONFIGURED_APPS += examples/nxconsole CONFIGURED_APPS += examples/nxconsole
endif endif

View File

@ -864,9 +864,9 @@ examples/nxconsole
CONFIG_EXAMPLES_NXCON_DEVNAME -- The quoated, full path to the CONFIG_EXAMPLES_NXCON_DEVNAME -- The quoated, full path to the
NX console device corresponding to CONFIG_EXAMPLES_NXCON_MINOR. NX console device corresponding to CONFIG_EXAMPLES_NXCON_MINOR.
Default: "/dev/nxcon0" Default: "/dev/nxcon0"
CONFIG_EXAMPLES_NXCONSOLE_PRIO - Priority of the NxConsole task. CONFIG_EXAMPLES_NXTERM_PRIO - Priority of the NxConsole task.
Default: SCHED_PRIORITY_DEFAULT Default: SCHED_PRIORITY_DEFAULT
CONFIG_EXAMPLES_NXCONSOLE_STACKSIZE - Stack size allocated for the CONFIG_EXAMPLES_NXTERM_STACKSIZE - Stack size allocated for the
NxConsole task. Default: 2048 NxConsole task. Default: 2048
The following configuration settings determine how to set up the NX The following configuration settings determine how to set up the NX

View File

@ -3,11 +3,11 @@
# see misc/tools/kconfig-language.txt. # see misc/tools/kconfig-language.txt.
# #
config EXAMPLES_NXCONSOLE config EXAMPLES_NXTERM
bool "NxConsole example" bool "NxConsole example"
default n default n
---help--- ---help---
Enable the NxConsole example Enable the NxConsole example
if EXAMPLES_NXCONSOLE if EXAMPLES_NXTERM
endif endif

View File

@ -33,8 +33,8 @@
* *
****************************************************************************/ ****************************************************************************/
#ifndef __EXAMPLES_NXCONSOLE_NXCON_INTERNAL_H #ifndef __EXAMPLES_NXTERM_NXCON_INTERNAL_H
#define __EXAMPLES_NXCONSOLE_NXCON_INTERNAL_H #define __EXAMPLES_NXTERM_NXCON_INTERNAL_H
/**************************************************************************** /****************************************************************************
* Included Files * Included Files
@ -227,12 +227,12 @@
/* NxConsole task */ /* NxConsole task */
#ifndef CONFIG_EXAMPLES_NXCONSOLE_PRIO #ifndef CONFIG_EXAMPLES_NXTERM_PRIO
# define CONFIG_EXAMPLES_NXCONSOLE_PRIO SCHED_PRIORITY_DEFAULT # define CONFIG_EXAMPLES_NXTERM_PRIO SCHED_PRIORITY_DEFAULT
#endif #endif
#ifndef CONFIG_EXAMPLES_NXCONSOLE_STACKSIZE #ifndef CONFIG_EXAMPLES_NXTERM_STACKSIZE
# define CONFIG_EXAMPLES_NXCONSOLE_STACKSIZE 2048 # define CONFIG_EXAMPLES_NXTERM_STACKSIZE 2048
#endif #endif
/* Debug ********************************************************************/ /* Debug ********************************************************************/
@ -307,4 +307,4 @@ extern FAR NX_DRIVERTYPE *up_nxdrvinit(unsigned int devno);
extern int nxcon_server(int argc, char *argv[]); extern int nxcon_server(int argc, char *argv[]);
extern FAR void *nxcon_listener(FAR void *arg); extern FAR void *nxcon_listener(FAR void *arg);
#endif /* __EXAMPLES_NXCONSOLE_NXCON_INTERNAL_H */ #endif /* __EXAMPLES_NXTERM_NXCON_INTERNAL_H */

View File

@ -393,8 +393,8 @@ int nxcon_main(int argc, char **argv)
* from this task. * from this task.
*/ */
g_nxcon_vars.pid = task_create("NxConsole", CONFIG_EXAMPLES_NXCONSOLE_PRIO, g_nxcon_vars.pid = task_create("NxConsole", CONFIG_EXAMPLES_NXTERM_PRIO,
CONFIG_EXAMPLES_NXCONSOLE_STACKSIZE, CONFIG_EXAMPLES_NXTERM_STACKSIZE,
nxcon_task, NULL); nxcon_task, NULL);
ASSERT(g_nxcon_vars.pid > 0); ASSERT(g_nxcon_vars.pid > 0);
return EXIT_SUCCESS; return EXIT_SUCCESS;