From 9d74362d756e195acbe2b5731a4d03e399e431cd Mon Sep 17 00:00:00 2001 From: Abdelatif Guettouche Date: Fri, 4 Dec 2020 10:31:41 +0000 Subject: [PATCH] boards: Add the new boards to the boards's Kconfig. Signed-off-by: Abdelatif Guettouche --- boards/Kconfig | 29 +++++++++++++++++++ .../configs/ethernet/defconfig | 2 +- .../esp32-ethernet-kit/configs/nsh/defconfig | 2 +- .../esp32-wrover-kit/configs/nsh/defconfig | 2 +- 4 files changed, 32 insertions(+), 3 deletions(-) diff --git a/boards/Kconfig b/boards/Kconfig index c6da95ae08..7e6486cb83 100644 --- a/boards/Kconfig +++ b/boards/Kconfig @@ -200,6 +200,27 @@ config ARCH_BOARD_ESP32CORE of two CPUs is symmetric, meaning they use the same addresses to access the same memory. +config ARCH_BOARD_ESP32_ETHERNETKIT + bool "Espressif ESP32 Ethernet Kit" + depends on ARCH_CHIP_ESP32 + select ARCH_HAVE_LEDS + ---help--- + The ESP32-Ethernet-Kit is an Ethernet-to-Wi-Fi development board that enables + Ethernet devices to be interconnected over Wi-Fi. At the same time, to provide + more flexible power supply options, the ESP32-Ethernet-Kit also supports power + over Ethernet (PoE). + +config ARCH_BOARD_ESP32_WROVERKIT + bool "Espressif ESP-WROVER-KIT" + depends on ARCH_CHIP_ESP32 + select ARCH_HAVE_LEDS + ---help--- + ESP-WROVER-KIT is an ESP32-based development board produced by Espressif. + ESP-WROVER-KIT features the following integrated components: + ESP32-WROVER-B module + LCD screen + MicroSD card slot + config ARCH_BOARD_EZ80F910200KITG bool "ZiLOG ez80f910200kitg development kit" depends on ARCH_CHIP_EZ80F91 @@ -2185,6 +2206,8 @@ config ARCH_BOARD default "ekk-lm3s9b96" if ARCH_BOARD_EKKLM3S9B96 default "quickfeather" if ARCH_BOARD_QUICKFEATHER default "esp32-core" if ARCH_BOARD_ESP32CORE + default "esp32-ethernet-kit" if ARCH_BOARD_ESP32_ETHERNETKIT + default "esp32-wrover-kit" if ARCH_BOARD_ESP32_WROVERKIT default "ez80f910200kitg" if ARCH_BOARD_EZ80F910200KITG default "ez80f910200zco" if ARCH_BOARD_EZ80F910200ZCO default "fire-stm32v2" if ARCH_BOARD_FIRE_STM32 @@ -3010,6 +3033,12 @@ endif if ARCH_BOARD_ESP32CORE source "boards/xtensa/esp32/esp32-core/Kconfig" endif +if ARCH_BOARD_ESP32_ETHERNETKIT +source "boards/xtensa/esp32/esp32-ethernet-kit/Kconfig" +endif +if ARCH_BOARD_ESP32_WROVERKIT +source "boards/xtensa/esp32/esp32-wrover-kit/Kconfig" +endif if ARCH_BOARD_Z16F2800100ZCOG source "boards/z16/z16f/z16f2800100zcog/Kconfig" endif diff --git a/boards/xtensa/esp32/esp32-ethernet-kit/configs/ethernet/defconfig b/boards/xtensa/esp32/esp32-ethernet-kit/configs/ethernet/defconfig index c86b265d70..ddcd060dda 100644 --- a/boards/xtensa/esp32/esp32-ethernet-kit/configs/ethernet/defconfig +++ b/boards/xtensa/esp32/esp32-ethernet-kit/configs/ethernet/defconfig @@ -11,7 +11,7 @@ # CONFIG_NSH_CMDPARMS is not set CONFIG_ARCH="xtensa" CONFIG_ARCH_BOARD="esp32-ethernet-kit" -CONFIG_ARCH_BOARD_ESP32CORE=y +CONFIG_ARCH_BOARD_ESP32_ETHERNETKIT=y CONFIG_ARCH_CHIP="esp32" CONFIG_ARCH_CHIP_ESP32=y CONFIG_ARCH_STACKDUMP=y diff --git a/boards/xtensa/esp32/esp32-ethernet-kit/configs/nsh/defconfig b/boards/xtensa/esp32/esp32-ethernet-kit/configs/nsh/defconfig index 60f4830ccf..3c58615b07 100644 --- a/boards/xtensa/esp32/esp32-ethernet-kit/configs/nsh/defconfig +++ b/boards/xtensa/esp32/esp32-ethernet-kit/configs/nsh/defconfig @@ -11,7 +11,7 @@ # CONFIG_NSH_CMDPARMS is not set CONFIG_ARCH="xtensa" CONFIG_ARCH_BOARD="esp32-ethernet-kit" -CONFIG_ARCH_BOARD_ESP32CORE=y +CONFIG_ARCH_BOARD_ESP32_ETHERNETKIT=y CONFIG_ARCH_CHIP="esp32" CONFIG_ARCH_CHIP_ESP32=y CONFIG_ARCH_STACKDUMP=y diff --git a/boards/xtensa/esp32/esp32-wrover-kit/configs/nsh/defconfig b/boards/xtensa/esp32/esp32-wrover-kit/configs/nsh/defconfig index 708758aa83..a6d822c8f5 100644 --- a/boards/xtensa/esp32/esp32-wrover-kit/configs/nsh/defconfig +++ b/boards/xtensa/esp32/esp32-wrover-kit/configs/nsh/defconfig @@ -11,7 +11,7 @@ # CONFIG_NSH_CMDPARMS is not set CONFIG_ARCH="xtensa" CONFIG_ARCH_BOARD="esp32-wrover-kit" -CONFIG_ARCH_BOARD_ESP32CORE=y +CONFIG_ARCH_BOARD_ESP32_WROVERKIT=y CONFIG_ARCH_CHIP="esp32" CONFIG_ARCH_CHIP_ESP32=y CONFIG_ARCH_STACKDUMP=y