diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-07-07 18:40:15 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-07-07 18:40:15 +0000 |
commit | b4ee6ba758d5582b6b6eb69c4cf4beaa955c5cf1 (patch) | |
tree | 9a3d520118b0193ad6eedb211b4dfd2051173c18 /nuttx/configs/stm3210e-eval/buttons | |
parent | 21de300584601f990c440757197097746fa40034 (diff) | |
download | px4-nuttx-b4ee6ba758d5582b6b6eb69c4cf4beaa955c5cf1.tar.gz px4-nuttx-b4ee6ba758d5582b6b6eb69c4cf4beaa955c5cf1.tar.bz2 px4-nuttx-b4ee6ba758d5582b6b6eb69c4cf4beaa955c5cf1.zip |
Verified STM3210E-EVAL button handling and new button test application
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3751 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/stm3210e-eval/buttons')
-rw-r--r-- | nuttx/configs/stm3210e-eval/buttons/defconfig | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/nuttx/configs/stm3210e-eval/buttons/defconfig b/nuttx/configs/stm3210e-eval/buttons/defconfig index 4a072721a..ebe5d7d44 100644 --- a/nuttx/configs/stm3210e-eval/buttons/defconfig +++ b/nuttx/configs/stm3210e-eval/buttons/defconfig @@ -684,14 +684,23 @@ CONFIG_EXAMPLE_NETTEST_CLIENTIP=(10<<24|0<<16|0<<8|1) # Settings for examples/buttons # # CONFIG_EXAMPLE_BUTTONS_MIN and CONFIG_EXAMPLE_BUTTONS_MAX -# Lowest and highest button number +# Lowest and highest button number (0-7) # CONFIG_EXAMPLE_IRQBUTTONS_MIN and CONFIG_EXAMPLE_IRQBUTTONS_MAX -# Lowest and highest interrupting button number +# 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=2 CONFIG_EXAMPLE_IRQBUTTONS_MAX=7 +CONFIG_EXAMPLE_BUTTONS_NAME0="WAKEUP" +CONFIG_EXAMPLE_BUTTONS_NAME1="TAMPER" +CONFIG_EXAMPLE_BUTTONS_NAME2="KEY" +CONFIG_EXAMPLE_BUTTONS_NAME3="SELECT" +CONFIG_EXAMPLE_BUTTONS_NAME4="DOWN" +CONFIG_EXAMPLE_BUTTONS_NAME5="LEFT" +CONFIG_EXAMPLE_BUTTONS_NAME6="RIGHT" +CONFIG_EXAMPLE_BUTTONS_NAME7="UP" # # Settings for examples/ostest |