mirror of
https://github.com/apache/nuttx.git
synced 2026-06-04 14:53:47 +08:00
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
This commit is contained in:
@@ -133,6 +133,12 @@ CONFIG_LPC17_ADC=n
|
||||
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
|
||||
#
|
||||
@@ -878,6 +884,28 @@ CONFIG_EXAMPLES_OSTEST_LOOPS=1
|
||||
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
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user