Browse Source

boards: esp32: make only one esp32_devkitc

Rename the esp32_devikic_wrover to esp32_devkitc.

Signed-off-by: Marek Matej <marek.matej@espressif.com>
pull/89114/head
Marek Matej 3 months ago committed by Benjamin Cabé
parent
commit
b8aa506c83
  1. 7
      boards/espressif/esp32_devkitc/Kconfig
  2. 7
      boards/espressif/esp32_devkitc/Kconfig.esp32_devkitc
  3. 0
      boards/espressif/esp32_devkitc/Kconfig.sysbuild
  4. 0
      boards/espressif/esp32_devkitc/board.cmake
  5. 6
      boards/espressif/esp32_devkitc/board.yml
  6. 0
      boards/espressif/esp32_devkitc/doc/img/esp32_devkitc_wrover.jpg
  7. 22
      boards/espressif/esp32_devkitc/doc/index.rst
  8. 0
      boards/espressif/esp32_devkitc/esp32_devkitc-pinctrl.dtsi
  9. 4
      boards/espressif/esp32_devkitc/esp32_devkitc_appcpu.dts
  10. 4
      boards/espressif/esp32_devkitc/esp32_devkitc_appcpu.yaml
  11. 0
      boards/espressif/esp32_devkitc/esp32_devkitc_appcpu_defconfig
  12. 4
      boards/espressif/esp32_devkitc/esp32_devkitc_procpu.dts
  13. 4
      boards/espressif/esp32_devkitc/esp32_devkitc_procpu.yaml
  14. 2
      boards/espressif/esp32_devkitc/esp32_devkitc_procpu_defconfig
  15. 0
      boards/espressif/esp32_devkitc/support/openocd.cfg
  16. 7
      boards/espressif/esp32_devkitc_wrover/Kconfig
  17. 7
      boards/espressif/esp32_devkitc_wrover/Kconfig.esp32_devkitc_wrover
  18. 6
      boards/espressif/esp32_devkitc_wrover/board.yml

7
boards/espressif/esp32_devkitc/Kconfig

@ -0,0 +1,7 @@ @@ -0,0 +1,7 @@
# Copyright (c) 2024-2025 Espressif Systems (Shanghai) Co., Ltd.
# SPDX-License-Identifier: Apache-2.0
config HEAP_MEM_POOL_ADD_SIZE_BOARD
int
default 4096 if BOARD_ESP32_DEVKITC_ESP32_PROCPU
default 256 if BOARD_ESP32_DEVKITC_ESP32_APPCPU

7
boards/espressif/esp32_devkitc/Kconfig.esp32_devkitc

@ -0,0 +1,7 @@ @@ -0,0 +1,7 @@
# Copyright (c) 2023-2025 Espressif Systems (Shanghai) Co., Ltd.
# SPDX-License-Identifier: Apache-2.0
config BOARD_ESP32_DEVKITC
select SOC_ESP32_WROVER_E_N4R8
select SOC_ESP32_PROCPU if BOARD_ESP32_DEVKITC_ESP32_PROCPU
select SOC_ESP32_APPCPU if BOARD_ESP32_DEVKITC_ESP32_APPCPU

0
boards/espressif/esp32_devkitc_wrover/Kconfig.sysbuild → boards/espressif/esp32_devkitc/Kconfig.sysbuild

0
boards/espressif/esp32_devkitc_wrover/board.cmake → boards/espressif/esp32_devkitc/board.cmake

6
boards/espressif/esp32_devkitc/board.yml

@ -0,0 +1,6 @@ @@ -0,0 +1,6 @@
board:
name: esp32_devkitc
full_name: ESP32-DevKitC
vendor: espressif
socs:
- name: esp32

0
boards/espressif/esp32_devkitc_wrover/doc/img/esp32_devkitc_wrover.jpg → boards/espressif/esp32_devkitc/doc/img/esp32_devkitc_wrover.jpg

Before

Width:  |  Height:  |  Size: 76 KiB

After

Width:  |  Height:  |  Size: 76 KiB

22
boards/espressif/esp32_devkitc_wrover/doc/index.rst → boards/espressif/esp32_devkitc/doc/index.rst

@ -1,4 +1,4 @@ @@ -1,4 +1,4 @@
.. zephyr:board:: esp32_devkitc_wrover
.. zephyr:board:: esp32_devkitc
Overview
********
@ -8,7 +8,7 @@ with integrated Wi-Fi & dual-mode Bluetooth. The ESP32 series employs a @@ -8,7 +8,7 @@ with integrated Wi-Fi & dual-mode Bluetooth. The ESP32 series employs a
Tensilica Xtensa LX6 microprocessor in both dual-core and single-core
variations. ESP32 is created and developed by Espressif Systems, a
Shanghai-based Chinese company, and is manufactured by TSMC using their 40nm
process. For more information, check `ESP32-DevKitC-WROVER`_.
process. For more information, check `ESP32-DevKitC`_.
The features include the following:
@ -115,7 +115,7 @@ To build the sample application using sysbuild use the command: @@ -115,7 +115,7 @@ To build the sample application using sysbuild use the command:
.. zephyr-app-commands::
:tool: west
:zephyr-app: samples/hello_world
:board: esp32_devkitc_wrover
:board: esp32_devkitc
:goals: build
:west-args: --sysbuild
:compact:
@ -164,16 +164,16 @@ Build and flash applications as usual (see :ref:`build_an_application` and @@ -164,16 +164,16 @@ Build and flash applications as usual (see :ref:`build_an_application` and
.. zephyr-app-commands::
:zephyr-app: samples/hello_world
:board: esp32_devkitc_wrover/esp32/procpu
:board: esp32_devkitc/esp32/procpu
:goals: build
The usual ``flash`` target will work with the ``esp32_devkitc_wrover`` board
The usual ``flash`` target will work with the ``esp32_devkitc`` board
configuration. Here is an example for the :zephyr:code-sample:`hello_world`
application.
.. zephyr-app-commands::
:zephyr-app: samples/hello_world
:board: esp32_devkitc_wrover/esp32/procpu
:board: esp32_devkitc/esp32/procpu
:goals: flash
Open the serial monitor using the following command:
@ -188,14 +188,14 @@ message in the monitor: @@ -188,14 +188,14 @@ message in the monitor:
.. code-block:: console
***** Booting Zephyr OS vx.x.x-xxx-gxxxxxxxxxxxx *****
Hello World! esp32_devkitc_wrover
Hello World! esp32_devkitc
Debugging
*********
ESP32 support on OpenOCD is available at `OpenOCD ESP32`_.
On the ESP32-DevKitC-WROVER board, the JTAG pins are not run to a
On the ESP32-DevKitC board, the JTAG pins are not run to a
standard connector (e.g. ARM 20-pin) and need to be manually connected
to the external programmer (e.g. a Flyswatter2):
@ -223,14 +223,14 @@ Here is an example for building the :zephyr:code-sample:`hello_world` applicatio @@ -223,14 +223,14 @@ Here is an example for building the :zephyr:code-sample:`hello_world` applicatio
.. zephyr-app-commands::
:zephyr-app: samples/hello_world
:board: esp32_devkitc_wrover/esp32/procpu
:board: esp32_devkitc/esp32/procpu
:goals: build flash
You can debug an application in the usual way. Here is an example for the :zephyr:code-sample:`hello_world` application.
.. zephyr-app-commands::
:zephyr-app: samples/hello_world
:board: esp32_devkitc_wrover/esp32/procpu
:board: esp32_devkitc/esp32/procpu
:goals: debug
Note on Debugging with GDB Stub
@ -249,7 +249,7 @@ References @@ -249,7 +249,7 @@ References
.. target-notes::
.. _`ESP32-DevKitC-WROVER`: https://docs.espressif.com/projects/esp-idf/en/stable/esp32/hw-reference/esp32/get-started-devkitc.html#
.. _`ESP32-DevKitC`: https://docs.espressif.com/projects/esp-dev-kits/en/latest/esp32/esp32-devkitc/index.html
.. _`ESP32 Datasheet`: https://www.espressif.com/sites/default/files/documentation/esp32_datasheet_en.pdf
.. _`ESP32 Technical Reference Manual`: https://espressif.com/sites/default/files/documentation/esp32_technical_reference_manual_en.pdf
.. _`JTAG debugging for ESP32`: https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-guides/jtag-debugging/index.html

0
boards/espressif/esp32_devkitc_wrover/esp32_devkitc_wrover-pinctrl.dtsi → boards/espressif/esp32_devkitc/esp32_devkitc-pinctrl.dtsi

4
boards/espressif/esp32_devkitc_wrover/esp32_devkitc_wrover_appcpu.dts → boards/espressif/esp32_devkitc/esp32_devkitc_appcpu.dts

@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
/*
* Copyright (c) 2023 Espressif Systems (Shanghai) Co., Ltd.
* Copyright (c) 2023-2025 Espressif Systems (Shanghai) Co., Ltd.
*
* SPDX-License-Identifier: Apache-2.0
*/
@ -9,7 +9,7 @@ @@ -9,7 +9,7 @@
#include <espressif/partitions_0x1000_amp.dtsi>
/ {
model = "Espressif ESP32-DevkitC WROVER-E APPCPU";
model = "Espressif ESP32-DevkitC APPCPU";
compatible = "espressif,esp32";
chosen {

4
boards/espressif/esp32_devkitc_wrover/esp32_devkitc_wrover_appcpu.yaml → boards/espressif/esp32_devkitc/esp32_devkitc_appcpu.yaml

@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
identifier: esp32_devkitc_wrover/esp32/appcpu
name: ESP32-DevkitC-WROVER-E APPCPU
identifier: esp32_devkitc/esp32/appcpu
name: ESP32-DevkitC APPCPU
type: mcu
arch: xtensa
toolchain:

0
boards/espressif/esp32_devkitc_wrover/esp32_devkitc_wrover_appcpu_defconfig → boards/espressif/esp32_devkitc/esp32_devkitc_appcpu_defconfig

4
boards/espressif/esp32_devkitc_wrover/esp32_devkitc_wrover_procpu.dts → boards/espressif/esp32_devkitc/esp32_devkitc_procpu.dts

@ -6,13 +6,13 @@ @@ -6,13 +6,13 @@
/dts-v1/;
#include <espressif/esp32/esp32_wrover_e_n4r8.dtsi>
#include "esp32_devkitc_wrover-pinctrl.dtsi"
#include "esp32_devkitc-pinctrl.dtsi"
#include <zephyr/dt-bindings/input/input-event-codes.h>
#include <zephyr/dt-bindings/input/esp32-touch-sensor-input.h>
#include <espressif/partitions_0x1000_amp.dtsi>
/ {
model = "Espressif ESP32-DevkitC WROVER-E PROCPU";
model = "Espressif ESP32-DevkitC PROCPU";
compatible = "espressif,esp32";
aliases {

4
boards/espressif/esp32_devkitc_wrover/esp32_devkitc_wrover_procpu.yaml → boards/espressif/esp32_devkitc/esp32_devkitc_procpu.yaml

@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
identifier: esp32_devkitc_wrover/esp32/procpu
name: ESP32-DevkitC-WROVER-E PROCPU
identifier: esp32_devkitc/esp32/procpu
name: ESP32-DevkitC PROCPU
type: mcu
arch: xtensa
toolchain:

2
boards/espressif/esp32_devkitc_wrover/esp32_devkitc_wrover_procpu_defconfig → boards/espressif/esp32_devkitc/esp32_devkitc_procpu_defconfig

@ -1,4 +1,4 @@ @@ -1,4 +1,4 @@
# Copyright (c) 2023 Espressif Systems (Shanghai) Co., Ltd.
# Copyright (c) 2023-2025 Espressif Systems (Shanghai) Co., Ltd.
# SPDX-License-Identifier: Apache-2.0
CONFIG_CONSOLE=y

0
boards/espressif/esp32_devkitc_wrover/support/openocd.cfg → boards/espressif/esp32_devkitc/support/openocd.cfg

7
boards/espressif/esp32_devkitc_wrover/Kconfig

@ -1,7 +0,0 @@ @@ -1,7 +0,0 @@
# Copyright (c) 2024 Espressif Systems (Shanghai) Co., Ltd.
# SPDX-License-Identifier: Apache-2.0
config HEAP_MEM_POOL_ADD_SIZE_BOARD
int
default 4096 if BOARD_ESP32_DEVKITC_WROVER_ESP32_PROCPU
default 256 if BOARD_ESP32_DEVKITC_WROVER_ESP32_APPCPU

7
boards/espressif/esp32_devkitc_wrover/Kconfig.esp32_devkitc_wrover

@ -1,7 +0,0 @@ @@ -1,7 +0,0 @@
# Copyright (c) 2023 Espressif Systems (Shanghai) Co., Ltd.
# SPDX-License-Identifier: Apache-2.0
config BOARD_ESP32_DEVKITC_WROVER
select SOC_ESP32_WROVER_E_N4R8
select SOC_ESP32_PROCPU if BOARD_ESP32_DEVKITC_WROVER_ESP32_PROCPU
select SOC_ESP32_APPCPU if BOARD_ESP32_DEVKITC_WROVER_ESP32_APPCPU

6
boards/espressif/esp32_devkitc_wrover/board.yml

@ -1,6 +0,0 @@ @@ -1,6 +0,0 @@
board:
name: esp32_devkitc_wrover
full_name: ESP32-DevKitC-WROVER
vendor: espressif
socs:
- name: esp32
Loading…
Cancel
Save