diff --git a/configs/Kconfig b/configs/Kconfig index 9883ca3de8e..2ef27ea23ee 100644 --- a/configs/Kconfig +++ b/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/configs/open1788/nsh/defconfig b/configs/open1788/nsh/defconfig index 0d16b690e21..70e98e55d68 100644 --- a/configs/open1788/nsh/defconfig +++ b/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/configs/open1788/ostest/defconfig b/configs/open1788/ostest/defconfig index b992fc0d0d0..4bfad096334 100644 --- a/configs/open1788/ostest/defconfig +++ b/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