Incomplete Kconfig files fleshed out by Alan Carvalho de Assis

This commit is contained in:
Gregory Nutt 2014-02-18 14:35:49 -06:00
parent 4183932d04
commit c4f50c4cd9
3 changed files with 100 additions and 0 deletions

View File

@ -823,3 +823,6 @@
* Several files changes based on complaints from the tool CppCheck. Some * Several files changes based on complaints from the tool CppCheck. Some
latent bugs were fixed (and most likely some new typos were introduced) latent bugs were fixed (and most likely some new typos were introduced)
(2014-2-10). (2014-2-10).
* apps/examples/nximage/Kconfig and apps/examples/uip/Kconfig: Incomplete
Kconfig files fleshed out by Alan Carvalho de Assis (2014-2-18).

View File

@ -10,4 +10,74 @@ config EXAMPLES_NXIMAGE
Enable the X graphics image example Enable the X graphics image example
if EXAMPLES_NXIMAGE if EXAMPLES_NXIMAGE
config EXAMPLES_NXIMAGE_VPLANE
int "Video Plane"
default 0
---help---
The plane to select from the framebuffer driver for use in the test.
Default: 0
config EXAMPLES_NXIMAGE_DEVNO
int "Video Device Number"
default 0
---help---
The LCD device to select from the LCD driver for use in the test:
Default: 0
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_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.
endif endif

View File

@ -10,4 +10,31 @@ config EXAMPLES_UIP
Enable the uIP web server example Enable the uIP web server example
if EXAMPLES_UIP if EXAMPLES_UIP
config EXAMPLES_UIP_IPADDR
int "Device IP"
default 0x0a000002
---help---
This is the IP address of your board.
config EXAMPLES_UIP_DRIPADDR
int "Default Router IP"
default 0x0a000001
---help---
This is the IP address of your router/gateway.
config EXAMPLES_UIP_NETMASK
int "Network Mask"
default 0xffffff00
---help---
This is the network mask to use on this device.
config EXAMPLES_UIP_NOMAC
bool "No hardware MAC"
default y
---help---
Some devices don't have hardware MAC then we need to define a
software MAC.
endif endif