summaryrefslogtreecommitdiff
path: root/nuttx/configs/sam4l-xplained/Kconfig
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2013-06-15 10:56:08 -0600
committerGregory Nutt <gnutt@nuttx.org>2013-06-15 10:56:08 -0600
commit123f7dc4f8825a277f2e416558bbb49fa19cc2b7 (patch)
treee54dd6223c6040d670644783235ae9ee6d96900f /nuttx/configs/sam4l-xplained/Kconfig
parent9c82995c7a5847034355250dd9438649151ca58c (diff)
downloadpx4-nuttx-123f7dc4f8825a277f2e416558bbb49fa19cc2b7.tar.gz
px4-nuttx-123f7dc4f8825a277f2e416558bbb49fa19cc2b7.tar.bz2
px4-nuttx-123f7dc4f8825a277f2e416558bbb49fa19cc2b7.zip
Add support for the SAM4L Xplained Pro I/O1 module
Diffstat (limited to 'nuttx/configs/sam4l-xplained/Kconfig')
-rw-r--r--nuttx/configs/sam4l-xplained/Kconfig39
1 files changed, 39 insertions, 0 deletions
diff --git a/nuttx/configs/sam4l-xplained/Kconfig b/nuttx/configs/sam4l-xplained/Kconfig
index daae10472..d80c38ff8 100644
--- a/nuttx/configs/sam4l-xplained/Kconfig
+++ b/nuttx/configs/sam4l-xplained/Kconfig
@@ -4,4 +4,43 @@
#
if ARCH_BOARD_SAM4L_XPLAINED
+
+menu "SAM4L Xplained Pro Modules"
+
+config SAM4L_XPLAINED_IOMODULE
+ bool "I/O1 Module"
+ default n
+ ---help---
+ The I/O 1 module is attached. This module provides an MMC/SD card
+ slot.
+
+if SAM4L_XPLAINED_IOMODULE
+choice
+ prompt "I/O1 Module Location"
+ default SAM4L_XPLAINED_IOMODULE_EXT1
+
+config SAM4L_XPLAINED_IOMODULE_EXT1
+ bool "EXT1"
+
+config SAM4L_XPLAINED_IOMODULE_EXT2
+ bool "EXT2"
+
+endchoice
+endif
+
+config SAM4L_XPLAINED_OLED1MODULE
+ bool "OLED1 Module"
+ default n
+ ---help---
+ The OLED 1 module is attached. This module provides an OLED plus 3
+ additional switches and 3 additional LEDs.
+
+config SAM4L_XPLAINED_SLCD1MODULE
+ bool "SLCD1 Module"
+ default n
+ ---help---
+ The SLCD 1 module is attached. This module provides a segment LCD
+ that connects directly to the "EXT5 SEGMENT LCD" connector
+
+endmenu
endif