From d3a3e1db2f4dfa927b1304c8ea810ad131675e83 Mon Sep 17 00:00:00 2001 From: patacongo Date: Tue, 5 Mar 2013 01:26:02 +0000 Subject: Enable LEDs in all Open1788 configurations git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5706 42af7a65-404d-4744-a932-0658087f49c3 --- nuttx/ChangeLog | 6 ++++++ nuttx/configs/Kconfig | 3 +++ nuttx/configs/open1788/nsh/defconfig | 5 +++++ nuttx/configs/open1788/ostest/defconfig | 5 +++++ 4 files changed, 19 insertions(+) (limited to 'nuttx') 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 -- cgit v1.2.3