nuttx-apps/examples/nximage/Kconfig
anchao 220653f21c Squashed commit of the following:
Author: anchao <anchao@pinecone.net>

     apps/, most main() function: Correct CONFIG_BUILD_LOADABLE usage
     Loadable apps/: Correct loadable symbol table generate
     apps/system/ubloxmodem:  Fix build break
     apps/examples/ostest: start restart/waitpid/user test from main loop
     apps/nshlib:  Expand reboot and poweroff commands to include a second, optional mode argument

    Author: Gregory Nutt <gnutt@nuttx.org>

     An attempt to fix build issues.  Does not work.
     apps/examples/ostest:  Fix some inappropriate renaming of static functions introduced with recent patches.
     apps/builtin/exec_builtin.c:  Fix a error introduced by recent comments.  Found in build testing.

    Author: anchao <anchao@pinecone.net>

     apps/builtin/exec_builtin.c:  Try posix_spawn if builtin apps do not have have an entry point.
     apps/Application.mk: introduce MODULE config to simplify tristate(m)
     apps/nsh:  Change the nuttx shell module type to tristate
     apps:  Add loadable application support
     script/mksymtab:  Generate symbol table name by default
     apps/builtin:  Allow loadable applications can register with apps/builtin.
2018-08-23 11:06:15 -06:00

127 lines
2.7 KiB
Plaintext

#
# For a description of the syntax of this configuration file,
# see the file kconfig-language.txt in the NuttX tools repository.
#
config EXAMPLES_NXIMAGE
bool "NX graphics image example"
default n
depends on NX
select LIB_BOARDCTL
---help---
Enable the X graphics image example
if EXAMPLES_NXIMAGE
config EXAMPLES_NXIMAGE_PROGNAME
string "NX Image Program name"
default "nxhello"
depends on BUILD_LOADABLE
---help---
This is the name of the program that will be use when the NSH ELF
program is installed.
config EXAMPLES_NXIMAGE_PRIORITY
int "NX Image task priority"
default 100
config EXAMPLES_NXIMAGE_STACKSIZE
int "NX Image stack size"
default 2048
config EXAMPLES_NXIMAGE_BPP
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
config EXAMPLES_NXIMAGE_XSCALEp5
bool "Scale X by 50%"
default n
---help---
Reduce image scale by 50% of its original size.
config EXAMPLES_NXIMAGE_XSCALE1p0
bool "Don't scale image."
default y
---help---
Keep original image size.
config EXAMPLES_NXIMAGE_XSCALE1p5
bool "Scale X by 150%"
default n
---help---
Increase image scale by 50% of its original size.
config EXAMPLES_NXIMAGE_XSCALE2p0
bool "Scale X by 200%"
default n
---help---
Increase image scale by 200% of its original size.
config EXAMPLES_NXIMAGE_YSCALEp5
bool "Scale Y by 50%"
default n
---help---
Reduce image scale by 50% of its original size.
config EXAMPLES_NXIMAGE_YSCALE1p0
bool "Don't scale image."
default y
---help---
Keep original image size.
config EXAMPLES_NXIMAGE_YSCALE1p5
bool "Scale Y by 150%"
default n
---help---
Increase image scale by 50% of its original size.
config EXAMPLES_NXIMAGE_YSCALE2p0
bool "Scale Y by 200%"
default n
---help---
Increase image scale by 200% of its original size.
comment "NX Server Options"
config EXAMPLES_NXIMAGE_LISTENER_STACKSIZE
int "NX Server/Listener Stack Size"
default 2048
---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.
config EXAMPLES_NXIMAGE_NOTIFYSIGNO
int "Notify Signal Number"
default 4
---help---
The signal number to use with nx_eventnotify(). Default: 4
endif