diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2013-03-05 01:26:02 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2013-03-05 01:26:02 +0000 |
commit | d3a3e1db2f4dfa927b1304c8ea810ad131675e83 (patch) | |
tree | 5b0aed977c383d7a041bd52eb9dd18a09c0f706d /nuttx | |
parent | d1b5dcf2deac5613a03a84156176d9f2d4d16cca (diff) | |
download | px4-nuttx-d3a3e1db2f4dfa927b1304c8ea810ad131675e83.tar.gz px4-nuttx-d3a3e1db2f4dfa927b1304c8ea810ad131675e83.tar.bz2 px4-nuttx-d3a3e1db2f4dfa927b1304c8ea810ad131675e83.zip |
Enable LEDs in all Open1788 configurations
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5706 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx')
-rw-r--r-- | nuttx/ChangeLog | 6 | ||||
-rw-r--r-- | nuttx/configs/Kconfig | 3 | ||||
-rw-r--r-- | nuttx/configs/open1788/nsh/defconfig | 5 | ||||
-rw-r--r-- | nuttx/configs/open1788/ostest/defconfig | 5 |
4 files changed, 19 insertions, 0 deletions
diff --git a/nuttx/ChangeLog b/nuttx/ChangeLog index 548dffa1f..055d6be2c 100644 --- a/nuttx/ChangeLog +++ b/nuttx/ChangeLog @@ -4241,3 +4241,9 @@ * arch/arm/src/lpc17/lpc17*_clockconfig.c: The WaveShare Open1788 board now boots and passes the OS test. This is the work of Rommel Marcelo (2013-03-04). + * arch/arm/src/lm/lm_gpio.c, lm_gpio.h, and chip/lm4f_pinconfig.h + Extend GPIO logic to handle LM4F. Add LM4F pin configuration header + file (2013-03-04). + * configs/open1788: Enable LED support in all configurations. + (2013-03-04) + diff --git a/nuttx/configs/Kconfig b/nuttx/configs/Kconfig index 9883ca3de..2ef27ea23 100644 --- a/nuttx/configs/Kconfig +++ b/nuttx/configs/Kconfig @@ -368,6 +368,9 @@ config ARCH_BOARD_OLIMEX_STM32P107 config ARCH_BOARD_OPEN1788 bool "Wave Share Open1788" depends on ARCH_CHIP_LPC1788 + select ARCH_HAVE_LEDS + select ARCH_HAVE_BUTTONS + select ARCH_HAVE_IRQBUTTONS ---help--- This port uses the Wave Share Open1788 board. See the http://wvshare.com/product/Open1788-Standard.htm for further diff --git a/nuttx/configs/open1788/nsh/defconfig b/nuttx/configs/open1788/nsh/defconfig index 0d16b690e..70e98e55d 100644 --- a/nuttx/configs/open1788/nsh/defconfig +++ b/nuttx/configs/open1788/nsh/defconfig @@ -249,6 +249,11 @@ CONFIG_ARCH_BOARD="open1788" # # Common Board Options # +CONFIG_ARCH_HAVE_LEDS=y +CONFIG_ARCH_LEDS=y +CONFIG_ARCH_HAVE_BUTTONS=y +# CONFIG_ARCH_BUTTONS is not set +CONFIG_ARCH_HAVE_IRQBUTTONS=y CONFIG_NSH_MMCSDMINOR=0 # diff --git a/nuttx/configs/open1788/ostest/defconfig b/nuttx/configs/open1788/ostest/defconfig index b992fc0d0..4bfad0963 100644 --- a/nuttx/configs/open1788/ostest/defconfig +++ b/nuttx/configs/open1788/ostest/defconfig @@ -249,6 +249,11 @@ CONFIG_ARCH_BOARD="open1788" # # Common Board Options # +CONFIG_ARCH_HAVE_LEDS=y +CONFIG_ARCH_LEDS=y +CONFIG_ARCH_HAVE_BUTTONS=y +# CONFIG_ARCH_BUTTONS is not set +CONFIG_ARCH_HAVE_IRQBUTTONS=y # # Board-Specific Options |