summaryrefslogtreecommitdiff
path: root/nuttx/configs/olimex-lpc1766stk/usbserial/defconfig
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-12-31 20:47:53 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-12-31 20:47:53 +0000
commit42a49c694196d1e6ace7bf509b1f24fbb3f8ae21 (patch)
treef98c0f91017b799e82dd0fd3fea117a06a4e0035 /nuttx/configs/olimex-lpc1766stk/usbserial/defconfig
parent051fc115cb2dedf13a2b00b4fa46d06b783d47bb (diff)
downloadpx4-nuttx-42a49c694196d1e6ace7bf509b1f24fbb3f8ae21.tar.gz
px4-nuttx-42a49c694196d1e6ace7bf509b1f24fbb3f8ae21.tar.bz2
px4-nuttx-42a49c694196d1e6ace7bf509b1f24fbb3f8ae21.zip
Fix some issues with LPC1766-STK button support (there are more)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4245 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/olimex-lpc1766stk/usbserial/defconfig')
-rwxr-xr-xnuttx/configs/olimex-lpc1766stk/usbserial/defconfig28
1 files changed, 28 insertions, 0 deletions
diff --git a/nuttx/configs/olimex-lpc1766stk/usbserial/defconfig b/nuttx/configs/olimex-lpc1766stk/usbserial/defconfig
index cb55b85a3..f7b23816f 100755
--- a/nuttx/configs/olimex-lpc1766stk/usbserial/defconfig
+++ b/nuttx/configs/olimex-lpc1766stk/usbserial/defconfig
@@ -134,6 +134,12 @@ CONFIG_LPC17_DAC=n
CONFIG_LPC17_GPDMA=n
#
+# LPC17xx Button interrupt support
+#
+CONFIG_GPIO_IRQ=n
+CONFIG_ARCH_IRQBUTTONS=n
+
+#
# LPC17xx specific serial device driver settings
#
# CONFIG_UARTn_SERIAL_CONSOLE - selects the UARTn for the
@@ -715,6 +721,28 @@ CONFIG_EXAMPLES_OSTEST_STACKSIZE=2048
CONFIG_EXAMPLES_OSTEST_NBARRIER_THREADS=3
#
+# Settings for examples/buttons
+#
+# CONFIG_EXAMPLE_BUTTONS_MIN and CONFIG_EXAMPLE_BUTTONS_MAX
+# Lowest and highest button number (0-7)
+# CONFIG_EXAMPLE_IRQBUTTONS_MIN and CONFIG_EXAMPLE_IRQBUTTONS_MAX
+# Lowest and highest interrupting button number (-7)
+# CONFIG_EXAMPLE_BUTTONS_NAMEn - Name for button n
+#
+CONFIG_EXAMPLE_BUTTONS_MIN=0
+CONFIG_EXAMPLE_BUTTONS_MAX=7
+CONFIG_EXAMPLE_IRQBUTTONS_MIN=0
+CONFIG_EXAMPLE_IRQBUTTONS_MAX=7
+CONFIG_EXAMPLE_BUTTONS_NAME0="BUT1"
+CONFIG_EXAMPLE_BUTTONS_NAME1="BUT2"
+CONFIG_EXAMPLE_BUTTONS_NAME2="WAKE-UP"
+CONFIG_EXAMPLE_BUTTONS_NAME3="CENTER"
+CONFIG_EXAMPLE_BUTTONS_NAME4="UP"
+CONFIG_EXAMPLE_BUTTONS_NAME5="DOWN"
+CONFIG_EXAMPLE_BUTTONS_NAME6="LEFT"
+CONFIG_EXAMPLE_BUTTONS_NAME7="RIGHT"
+
+#
# Settings for apps/nshlib
#
# CONFIG_NSH_FILEIOSIZE - Size of a static I/O buffer