summaryrefslogtreecommitdiff
path: root/apps/examples
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-02-18 14:35:49 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-02-18 14:35:49 -0600
commitc5e726a117737e29bd02689744e9304fe092987d (patch)
treec30812cc88ba204073356a02f85816c45d0f3bb6 /apps/examples
parent2cd59de60de6e44767460fda0e9d9af9854ff1ac (diff)
downloadnuttx-c5e726a117737e29bd02689744e9304fe092987d.tar.gz
nuttx-c5e726a117737e29bd02689744e9304fe092987d.tar.bz2
nuttx-c5e726a117737e29bd02689744e9304fe092987d.zip
Incomplete Kconfig files fleshed out by Alan Carvalho de Assis
Diffstat (limited to 'apps/examples')
-rw-r--r--apps/examples/nximage/Kconfig70
-rw-r--r--apps/examples/uip/Kconfig27
2 files changed, 97 insertions, 0 deletions
diff --git a/apps/examples/nximage/Kconfig b/apps/examples/nximage/Kconfig
index e1d84a867..72ed5c8dd 100644
--- a/apps/examples/nximage/Kconfig
+++ b/apps/examples/nximage/Kconfig
@@ -10,4 +10,74 @@ config EXAMPLES_NXIMAGE
Enable the X graphics image example
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
diff --git a/apps/examples/uip/Kconfig b/apps/examples/uip/Kconfig
index db65995c8..7dd161acb 100644
--- a/apps/examples/uip/Kconfig
+++ b/apps/examples/uip/Kconfig
@@ -10,4 +10,31 @@ config EXAMPLES_UIP
Enable the uIP web server example
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