2012-04-06 18:33:17 +02:00
|
|
|
#
|
|
|
|
# For a description of the syntax of this configuration file,
|
2015-06-28 16:14:53 +02:00
|
|
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
2012-04-06 18:33:17 +02:00
|
|
|
#
|
2012-04-13 04:14:09 +02:00
|
|
|
|
|
|
|
config EXAMPLES_NXHELLO
|
2018-09-03 17:29:56 +02:00
|
|
|
tristate "NX graphics \"Hello, World!\" example"
|
2012-04-13 04:14:09 +02:00
|
|
|
default n
|
2017-10-15 17:36:55 +02:00
|
|
|
depends on NX
|
2021-08-01 08:59:37 +02:00
|
|
|
select BOARDCTL
|
2012-04-13 04:14:09 +02:00
|
|
|
---help---
|
|
|
|
Enable the NX graphics \"Hello, World!\" example
|
|
|
|
|
2013-06-02 18:33:57 +02:00
|
|
|
if EXAMPLES_NXHELLO
|
|
|
|
|
2017-10-14 22:18:45 +02:00
|
|
|
config EXAMPLES_NXHELLO_PROGNAME
|
|
|
|
string "NX Hello Program name"
|
|
|
|
default "nxhello"
|
2013-06-02 18:33:57 +02:00
|
|
|
---help---
|
2019-08-23 19:59:28 +02:00
|
|
|
This is the name of the program that will be used when the NSH ELF
|
2017-10-14 22:18:45 +02:00
|
|
|
program is installed.
|
2013-06-02 18:33:57 +02:00
|
|
|
|
2017-10-14 22:18:45 +02:00
|
|
|
config EXAMPLES_NXHELLO_PRIORITY
|
|
|
|
int "NX Hello task priority"
|
|
|
|
default 100
|
|
|
|
|
|
|
|
config EXAMPLES_NXHELLO_STACKSIZE
|
|
|
|
int "NX Hello stack size"
|
2020-03-27 06:10:33 +01:00
|
|
|
default DEFAULT_TASK_STACKSIZE
|
2013-06-02 18:33:57 +02:00
|
|
|
|
|
|
|
config EXAMPLES_NXHELLO_BPP
|
|
|
|
int "Bits-Per-Pixel"
|
|
|
|
default 32
|
|
|
|
---help---
|
2013-06-23 22:39:56 +02:00
|
|
|
Pixels per pixel to use. Valid options include 1, 2, 4, 8, 16, 24,
|
2013-06-02 18:33:57 +02:00
|
|
|
and 32. Default is 32.
|
|
|
|
|
|
|
|
comment "Example Color Configuration"
|
|
|
|
|
|
|
|
config EXAMPLES_NXHELLO_DEFAULT_COLORS
|
|
|
|
bool "Use Default Colors"
|
|
|
|
default y
|
|
|
|
|
|
|
|
if !EXAMPLES_NXHELLO_DEFAULT_COLORS
|
|
|
|
|
|
|
|
config EXAMPLES_NXHELLO_BGCOLOR
|
|
|
|
hex "Background color"
|
|
|
|
default 0x0
|
|
|
|
---help---
|
|
|
|
The color of the background. Default depends on config
|
|
|
|
EXAMPLES_NXHELLO_BPP.
|
|
|
|
|
|
|
|
config EXAMPLES_NXHELLO_FONTCOLOR
|
|
|
|
hex "Background font color"
|
|
|
|
default 0x0
|
|
|
|
---help---
|
|
|
|
The color of the fonts used in the background window. Default
|
|
|
|
depends on config EXAMPLES_NXHELLO_BPP.
|
|
|
|
|
|
|
|
endif
|
|
|
|
|
|
|
|
comment "Example Font Configuration"
|
|
|
|
|
|
|
|
config EXAMPLES_NXHELLO_DEFAULT_FONT
|
|
|
|
bool "Use Default Font"
|
|
|
|
default y
|
|
|
|
|
|
|
|
if !EXAMPLES_NXHELLO_DEFAULT_FONT
|
|
|
|
|
|
|
|
config EXAMPLES_NXHELLO_FONTID
|
|
|
|
int "Background font ID"
|
|
|
|
default 0
|
|
|
|
---help---
|
|
|
|
Selects the font used in the background window (see font ID numbers
|
|
|
|
in include/nuttx/nx/nxfonts.h)
|
|
|
|
|
|
|
|
endif
|
|
|
|
|
2017-10-14 22:18:45 +02:00
|
|
|
comment "NX Server Options"
|
|
|
|
|
|
|
|
config EXAMPLES_NXHELLO_LISTENER_STACKSIZE
|
|
|
|
int "NX Server/Listener Stack Size"
|
2020-03-27 06:10:33 +01:00
|
|
|
default DEFAULT_TASK_STACKSIZE
|
2017-10-14 22:18:45 +02:00
|
|
|
---help---
|
|
|
|
The stacksize to use when creating the NX server. Default 2048
|
|
|
|
|
|
|
|
config EXAMPLES_NXHELLO_CLIENTPRIO
|
|
|
|
int "Client Priority"
|
|
|
|
default 100
|
|
|
|
---help---
|
|
|
|
The client priority. Default: 100
|
|
|
|
|
|
|
|
config EXAMPLES_NXHELLO_SERVERPRIO
|
|
|
|
int "Server Priority"
|
|
|
|
default 120
|
|
|
|
---help---
|
|
|
|
The server priority. Default: 120
|
|
|
|
|
|
|
|
config EXAMPLES_NXHELLO_LISTENERPRIO
|
|
|
|
int "Listener Priority"
|
|
|
|
default 80
|
|
|
|
---help---
|
|
|
|
The priority of the event listener thread. Default 80.
|
|
|
|
|
2012-04-13 04:14:09 +02:00
|
|
|
endif
|