diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2010-10-17 17:38:40 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2010-10-17 17:38:40 +0000 |
commit | 93ba4af2ff1dacc63106796eb22f294e7d9030b0 (patch) | |
tree | 4a09e894cd6f4a2f031fb8ab8f3feed67e22cce9 /nuttx/configs/avr32dev1/ostest/defconfig | |
parent | 0956ec5b471ce98d3ee0bdad3d95e8f55881ccd9 (diff) | |
download | px4-nuttx-93ba4af2ff1dacc63106796eb22f294e7d9030b0.tar.gz px4-nuttx-93ba4af2ff1dacc63106796eb22f294e7d9030b0.tar.bz2 px4-nuttx-93ba4af2ff1dacc63106796eb22f294e7d9030b0.zip |
Add button logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3030 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/avr32dev1/ostest/defconfig')
-rwxr-xr-x | nuttx/configs/avr32dev1/ostest/defconfig | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/nuttx/configs/avr32dev1/ostest/defconfig b/nuttx/configs/avr32dev1/ostest/defconfig index 0068dae6e..234725b82 100755 --- a/nuttx/configs/avr32dev1/ostest/defconfig +++ b/nuttx/configs/avr32dev1/ostest/defconfig @@ -89,7 +89,7 @@ CONFIG_ARCH_INTERRUPTSTACK=n CONFIG_ARCH_STACKDUMP=y CONFIG_ARCH_BOOTLOADER=n CONFIG_ARCH_LEDS=y -CONFIG_ARCH_BUTTONS=n +CONFIG_ARCH_BUTTONS=y CONFIG_ARCH_CALIBRATION=n CONFIG_ARCH_DMA=n @@ -103,6 +103,10 @@ CONFIG_AVR32_AVRTOOLSL=n # # Individual subsystems can be enabled: # +# CONFIG_AVR32_GPIOIRQ - GPIO interrupt support +# CONFIG_AVR32_GPIOIRQSETA - Set of GPIOs on PORTA that support interrupts +# CONFIG_AVR32_GPIOIRQSETB - Set of GPIOs on PORTB that support interrupts +# # CONFIG_AVR32_USARTn - Enable support for USARTn # CONFIG_AVR32_USARTn_RS232 - Configure USARTn as an RS232 interface. # CONFIG_AVR32_USARTn_SPI - Configure USARTn as an SPI interface. @@ -113,6 +117,10 @@ CONFIG_AVR32_AVRTOOLSL=n # CONFIG_AVR32_USARTn_ISO786 - Configure USARTn as an ISO786 interface. # +CONFIG_AVR32_GPIOIRQ=y +CONFIG_AVR32_GPIOIRQSETA=0 +CONFIG_AVR32_GPIOIRQSETB=0x0000000c + CONFIG_AVR32_USART0=n CONFIG_AVR32_USART0_RS232=n CONFIG_AVR32_USART0_SPI=n |