This is an automated email from the ASF dual-hosted git repository. xiaoxiang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git
commit 2b39147fe2f0cee0ca84be57f894b01df41ca399 Author: Filipe Cavalcanti <[email protected]> AuthorDate: Wed Nov 19 09:43:20 2025 -0300 documentation: update ESP32-C3 board names for legacy and new devkit Updates the docs to the new esp32c3-devkit naming, after deprecating support for now esp32c3-legacy. Signed-off-by: Filipe Cavalcanti <[email protected]> --- .../esp32c3-devkit-rust-1.png | Bin .../index.rst | 8 ++++---- .../ESP32-C3-DevKitC-02-v1.1.png | Bin .../ESP32-C3-DevKitM-1-v1.0.png | Bin .../{esp32c3-devkit => esp32c3-legacy-devkit}/ROMFS.txt | 4 ++-- .../{esp32c3-devkit => esp32c3-legacy-devkit}/index.rst | 8 ++++---- Documentation/platforms/risc-v/esp32c3-legacy/index.rst | 2 +- .../ESP32-C3-DevKitC-02-v1.1.png | Bin .../ESP32-C3-DevKitM-1-v1.0.png | Bin .../boards/{esp32c3-generic => esp32c3-devkit}/index.rst | 2 +- .../{esp32c3-generic => esp32c3-devkit}/rmt_symbol.png | Bin Documentation/platforms/risc-v/esp32c3/index.rst | 6 +++--- 12 files changed, 15 insertions(+), 15 deletions(-) diff --git a/Documentation/platforms/risc-v/esp32c3-legacy/boards/esp32c3-devkit-rust-1/esp32c3-devkit-rust-1.png b/Documentation/platforms/risc-v/esp32c3-legacy/boards/esp32c3-legacy-devkit-rust-1/esp32c3-devkit-rust-1.png similarity index 100% rename from Documentation/platforms/risc-v/esp32c3-legacy/boards/esp32c3-devkit-rust-1/esp32c3-devkit-rust-1.png rename to Documentation/platforms/risc-v/esp32c3-legacy/boards/esp32c3-legacy-devkit-rust-1/esp32c3-devkit-rust-1.png diff --git a/Documentation/platforms/risc-v/esp32c3-legacy/boards/esp32c3-devkit-rust-1/index.rst b/Documentation/platforms/risc-v/esp32c3-legacy/boards/esp32c3-legacy-devkit-rust-1/index.rst similarity index 91% rename from Documentation/platforms/risc-v/esp32c3-legacy/boards/esp32c3-devkit-rust-1/index.rst rename to Documentation/platforms/risc-v/esp32c3-legacy/boards/esp32c3-legacy-devkit-rust-1/index.rst index fcf33e36206..e4b10abe6b8 100644 --- a/Documentation/platforms/risc-v/esp32c3-legacy/boards/esp32c3-devkit-rust-1/index.rst +++ b/Documentation/platforms/risc-v/esp32c3-legacy/boards/esp32c3-legacy-devkit-rust-1/index.rst @@ -1,6 +1,6 @@ -===================== -ESP32C3 DevKit RUST-1 -===================== +============================== +ESP32C3 DevKit RUST-1 (Legacy) +============================== .. tags:: arch:riscv, vendor:espressif @@ -67,7 +67,7 @@ To configure NuttX for this board, you can use the following command: .. code:: console - $ ./tools/configure.sh esp32c3-devkit-rust-1:<config> + $ ./tools/configure.sh esp32c3-legacy-devkit-rust-1:<config> Where ``<config>`` is one of the configurations listed below. diff --git a/Documentation/platforms/risc-v/esp32c3-legacy/boards/esp32c3-devkit/ESP32-C3-DevKitC-02-v1.1.png b/Documentation/platforms/risc-v/esp32c3-legacy/boards/esp32c3-legacy-devkit/ESP32-C3-DevKitC-02-v1.1.png similarity index 100% rename from Documentation/platforms/risc-v/esp32c3-legacy/boards/esp32c3-devkit/ESP32-C3-DevKitC-02-v1.1.png rename to Documentation/platforms/risc-v/esp32c3-legacy/boards/esp32c3-legacy-devkit/ESP32-C3-DevKitC-02-v1.1.png diff --git a/Documentation/platforms/risc-v/esp32c3-legacy/boards/esp32c3-devkit/ESP32-C3-DevKitM-1-v1.0.png b/Documentation/platforms/risc-v/esp32c3-legacy/boards/esp32c3-legacy-devkit/ESP32-C3-DevKitM-1-v1.0.png similarity index 100% rename from Documentation/platforms/risc-v/esp32c3-legacy/boards/esp32c3-devkit/ESP32-C3-DevKitM-1-v1.0.png rename to Documentation/platforms/risc-v/esp32c3-legacy/boards/esp32c3-legacy-devkit/ESP32-C3-DevKitM-1-v1.0.png diff --git a/Documentation/platforms/risc-v/esp32c3-legacy/boards/esp32c3-devkit/ROMFS.txt b/Documentation/platforms/risc-v/esp32c3-legacy/boards/esp32c3-legacy-devkit/ROMFS.txt similarity index 95% rename from Documentation/platforms/risc-v/esp32c3-legacy/boards/esp32c3-devkit/ROMFS.txt rename to Documentation/platforms/risc-v/esp32c3-legacy/boards/esp32c3-legacy-devkit/ROMFS.txt index 3c5c42de901..5cc8e382a9c 100644 --- a/Documentation/platforms/risc-v/esp32c3-legacy/boards/esp32c3-devkit/ROMFS.txt +++ b/Documentation/platforms/risc-v/esp32c3-legacy/boards/esp32c3-legacy-devkit/ROMFS.txt @@ -68,12 +68,12 @@ README directory structure. You can directly modify files under etc/ folder, The build system will regenerate nsh_romfsimg.h automatically. - See the esp32c3-devkit/nsh configuration for an example of the use of this file + See the esp32c3-legacy-devkit/nsh configuration for an example of the use of this file system. Replacing the Password File --------------------------- - The esp32c3-devkit/nsh configuration can also be used to create a new password file. + The esp32c3-legacy-devkit/nsh configuration can also be used to create a new password file. First, make these configuration changes: 1. Disable logins diff --git a/Documentation/platforms/risc-v/esp32c3-legacy/boards/esp32c3-devkit/index.rst b/Documentation/platforms/risc-v/esp32c3-legacy/boards/esp32c3-legacy-devkit/index.rst similarity index 99% rename from Documentation/platforms/risc-v/esp32c3-legacy/boards/esp32c3-devkit/index.rst rename to Documentation/platforms/risc-v/esp32c3-legacy/boards/esp32c3-legacy-devkit/index.rst index d8da5912750..3bccfa8c382 100644 --- a/Documentation/platforms/risc-v/esp32c3-legacy/boards/esp32c3-devkit/index.rst +++ b/Documentation/platforms/risc-v/esp32c3-legacy/boards/esp32c3-legacy-devkit/index.rst @@ -1,6 +1,6 @@ -=============== -ESP32-C3 DevKit -=============== +======================== +ESP32-C3 DevKit (Legacy) +======================== The ESP32-C3 DevKit is an entry-level development board equipped with either an ESP32-C3-WROOM-02 or an ESP32-C3-MINI-1. @@ -47,7 +47,7 @@ Configurations All of the configurations presented below can be tested by running the following commands:: - $ ./tools/configure.sh esp32c3-devkit:<config_name> + $ ./tools/configure.sh esp32c3-legacy-devkit:<config_name> $ make flash ESPTOOL_PORT=/dev/ttyUSB0 -j Where <config_name> is the name of board configuration you want to use, i.e.: nsh, buttons, wifi... diff --git a/Documentation/platforms/risc-v/esp32c3-legacy/index.rst b/Documentation/platforms/risc-v/esp32c3-legacy/index.rst index 756c0925fd6..65369bb9968 100644 --- a/Documentation/platforms/risc-v/esp32c3-legacy/index.rst +++ b/Documentation/platforms/risc-v/esp32c3-legacy/index.rst @@ -92,7 +92,7 @@ First make sure that ``esptool.py`` is installed. This tool is used to convert the ELF to a compatible ESP32 image and to flash the image into the board. It can be installed with: ``pip install esptool==4.8.dev4``. -Configure the NuttX project: ``./tools/configure.sh esp32c3-devkit:nsh`` +Configure the NuttX project: ``./tools/configure.sh esp32c3-legacy-devkit:nsh`` Run ``make`` to build the project. Note that the conversion mentioned above is included in the build process. The ``esptool.py`` command to flash all the binaries is:: diff --git a/Documentation/platforms/risc-v/esp32c3/boards/esp32c3-generic/ESP32-C3-DevKitC-02-v1.1.png b/Documentation/platforms/risc-v/esp32c3/boards/esp32c3-devkit/ESP32-C3-DevKitC-02-v1.1.png similarity index 100% rename from Documentation/platforms/risc-v/esp32c3/boards/esp32c3-generic/ESP32-C3-DevKitC-02-v1.1.png rename to Documentation/platforms/risc-v/esp32c3/boards/esp32c3-devkit/ESP32-C3-DevKitC-02-v1.1.png diff --git a/Documentation/platforms/risc-v/esp32c3/boards/esp32c3-generic/ESP32-C3-DevKitM-1-v1.0.png b/Documentation/platforms/risc-v/esp32c3/boards/esp32c3-devkit/ESP32-C3-DevKitM-1-v1.0.png similarity index 100% rename from Documentation/platforms/risc-v/esp32c3/boards/esp32c3-generic/ESP32-C3-DevKitM-1-v1.0.png rename to Documentation/platforms/risc-v/esp32c3/boards/esp32c3-devkit/ESP32-C3-DevKitM-1-v1.0.png diff --git a/Documentation/platforms/risc-v/esp32c3/boards/esp32c3-generic/index.rst b/Documentation/platforms/risc-v/esp32c3/boards/esp32c3-devkit/index.rst similarity index 99% rename from Documentation/platforms/risc-v/esp32c3/boards/esp32c3-generic/index.rst rename to Documentation/platforms/risc-v/esp32c3/boards/esp32c3-devkit/index.rst index 0e5cc00c36c..954dc18776c 100644 --- a/Documentation/platforms/risc-v/esp32c3/boards/esp32c3-generic/index.rst +++ b/Documentation/platforms/risc-v/esp32c3/boards/esp32c3-devkit/index.rst @@ -47,7 +47,7 @@ Configurations All of the configurations presented below can be tested by running the following commands:: - $ ./tools/configure.sh esp32c3-generic:<config_name> + $ ./tools/configure.sh esp32c3-devkit:<config_name> $ make flash ESPTOOL_PORT=/dev/ttyUSB0 -j Where <config_name> is the name of board configuration you want to use, i.e.: nsh, buttons, wifi... diff --git a/Documentation/platforms/risc-v/esp32c3/boards/esp32c3-generic/rmt_symbol.png b/Documentation/platforms/risc-v/esp32c3/boards/esp32c3-devkit/rmt_symbol.png similarity index 100% rename from Documentation/platforms/risc-v/esp32c3/boards/esp32c3-generic/rmt_symbol.png rename to Documentation/platforms/risc-v/esp32c3/boards/esp32c3-devkit/rmt_symbol.png diff --git a/Documentation/platforms/risc-v/esp32c3/index.rst b/Documentation/platforms/risc-v/esp32c3/index.rst index 3e86bc2efb9..137cfcc9044 100644 --- a/Documentation/platforms/risc-v/esp32c3/index.rst +++ b/Documentation/platforms/risc-v/esp32c3/index.rst @@ -138,7 +138,7 @@ This example shows how to build and flash the ``nsh`` defconfig for the ESP32-C3 $ cd nuttx $ make distclean - $ ./tools/configure.sh esp32c3-generic:nsh + $ ./tools/configure.sh esp32c3-devkit:nsh $ make -j$(nproc) When the build is complete, the firmware can be flashed to the board using the command:: @@ -176,7 +176,7 @@ Now opening the serial port with a terminal emulator should show the NuttX conso $ picocom -b 115200 /dev/ttyUSB0 NuttShell (NSH) NuttX-12.8.0 nsh> uname -a - NuttX 12.8.0 759d37b97c-dirty Mar 5 2025 19:58:56 risc-v esp32c3-generic + NuttX 12.8.0 759d37b97c-dirty Mar 5 2025 19:58:56 risc-v esp32c3-devkit Debugging ========= @@ -424,7 +424,7 @@ This section describes how to execute OTA update using MCUBoot. 1. First build the default ``mcuboot_update_agent`` config. This image defaults to the primary slot and already comes with Wi-Fi settings enabled:: - ./tools/configure.sh esp32c3-generic:mcuboot_update_agent + ./tools/configure.sh esp32c3-devkit:mcuboot_update_agent 2. Build the MCUBoot bootloader::
