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_NXIMAGE
|
2018-09-03 17:29:56 +02:00
|
|
|
tristate "NX graphics image 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 X graphics image example
|
|
|
|
|
|
|
|
if EXAMPLES_NXIMAGE
|
2014-02-18 21:35:49 +01:00
|
|
|
|
2017-10-14 23:09:43 +02:00
|
|
|
config EXAMPLES_NXIMAGE_PROGNAME
|
|
|
|
string "NX Image Program name"
|
|
|
|
default "nxhello"
|
2016-04-22 16:54:30 +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 23:09:43 +02:00
|
|
|
program is installed.
|
2014-02-18 21:35:49 +01:00
|
|
|
|
2017-10-14 23:09:43 +02:00
|
|
|
config EXAMPLES_NXIMAGE_PRIORITY
|
|
|
|
int "NX Image task priority"
|
|
|
|
default 100
|
|
|
|
|
|
|
|
config EXAMPLES_NXIMAGE_STACKSIZE
|
|
|
|
int "NX Image stack size"
|
2020-03-27 06:10:33 +01:00
|
|
|
default DEFAULT_TASK_STACKSIZE
|
2014-02-18 21:35:49 +01:00
|
|
|
|
|
|
|
config EXAMPLES_NXIMAGE_BPP
|
2016-04-22 16:54:30 +02:00
|
|
|
int "Bits-Per-Pixel"
|
|
|
|
default 32
|
|
|
|
---help---
|
|
|
|
Pixels per pixel to use. Valid options include 1, 2, 4, 8, 16, 24,
|
|
|
|
and 32. Default is 32.
|
|
|
|
|
|
|
|
config EXAMPLES_NXIMAGE_GREYSCALE
|
|
|
|
bool "Greyscale (vs RGB)"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Select to use a greyscale vs RGB color image. This option is ignored if
|
|
|
|
CONFIG_EXAMPLES_NXIMAGE_BPP > 8
|
2014-02-18 21:35:49 +01:00
|
|
|
|
|
|
|
config EXAMPLES_NXIMAGE_XSCALEp5
|
2016-04-22 16:54:30 +02:00
|
|
|
bool "Scale X by 50%"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Reduce image scale by 50% of its original size.
|
2014-02-18 21:35:49 +01:00
|
|
|
|
|
|
|
config EXAMPLES_NXIMAGE_XSCALE1p0
|
2016-04-22 16:54:30 +02:00
|
|
|
bool "Don't scale image."
|
|
|
|
default y
|
|
|
|
---help---
|
|
|
|
Keep original image size.
|
2014-02-18 21:35:49 +01:00
|
|
|
|
|
|
|
config EXAMPLES_NXIMAGE_XSCALE1p5
|
2016-04-22 16:54:30 +02:00
|
|
|
bool "Scale X by 150%"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Increase image scale by 50% of its original size.
|
2014-02-18 21:35:49 +01:00
|
|
|
|
|
|
|
config EXAMPLES_NXIMAGE_XSCALE2p0
|
2016-04-22 16:54:30 +02:00
|
|
|
bool "Scale X by 200%"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Increase image scale by 200% of its original size.
|
2014-02-18 21:35:49 +01:00
|
|
|
|
|
|
|
config EXAMPLES_NXIMAGE_YSCALEp5
|
2016-04-22 16:54:30 +02:00
|
|
|
bool "Scale Y by 50%"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Reduce image scale by 50% of its original size.
|
2014-02-18 21:35:49 +01:00
|
|
|
|
|
|
|
config EXAMPLES_NXIMAGE_YSCALE1p0
|
2016-04-22 16:54:30 +02:00
|
|
|
bool "Don't scale image."
|
|
|
|
default y
|
|
|
|
---help---
|
|
|
|
Keep original image size.
|
2014-02-18 21:35:49 +01:00
|
|
|
|
|
|
|
config EXAMPLES_NXIMAGE_YSCALE1p5
|
2016-04-22 16:54:30 +02:00
|
|
|
bool "Scale Y by 150%"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Increase image scale by 50% of its original size.
|
2014-02-18 21:35:49 +01:00
|
|
|
|
|
|
|
config EXAMPLES_NXIMAGE_YSCALE2p0
|
2016-04-22 16:54:30 +02:00
|
|
|
bool "Scale Y by 200%"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Increase image scale by 200% of its original size.
|
2014-02-18 21:35:49 +01:00
|
|
|
|
2017-10-14 23:09:43 +02:00
|
|
|
comment "NX Server Options"
|
|
|
|
|
|
|
|
config EXAMPLES_NXIMAGE_LISTENER_STACKSIZE
|
|
|
|
int "NX Server/Listener Stack Size"
|
2020-03-27 06:10:33 +01:00
|
|
|
default DEFAULT_TASK_STACKSIZE
|
2017-10-14 23:09:43 +02:00
|
|
|
---help---
|
|
|
|
The stacksize to use when creating the NX server. Default 2048
|
|
|
|
|
|
|
|
config EXAMPLES_NXIMAGE_CLIENTPRIO
|
|
|
|
int "Client Priority"
|
|
|
|
default 100
|
|
|
|
---help---
|
|
|
|
The client priority. Default: 100
|
|
|
|
|
|
|
|
config EXAMPLES_NXIMAGE_SERVERPRIO
|
|
|
|
int "Server Priority"
|
|
|
|
default 120
|
|
|
|
---help---
|
|
|
|
The server priority. Default: 120
|
|
|
|
|
|
|
|
config EXAMPLES_NXIMAGE_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
|