This is an automated email from the ASF dual-hosted git repository. simbit18 pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git
commit b2e823d0b981b10540acc8d1902b5adba4750357 Author: Matteo Golin <[email protected]> AuthorDate: Thu Oct 23 14:08:25 2025 -0400 docs/platforms/risc-v/esp32c3-legacy/boards/esp32c3-devkit-rust-1: Migrate README.txt Migrate README.txt to RST, adhering to the standard board documentation template. Signed-off-by: Matteo Golin <[email protected]> --- .../boards/esp32c3-devkit-rust-1/README.txt | 37 ---------- .../esp32c3-devkit-rust-1.png | Bin 0 -> 1056453 bytes .../boards/esp32c3-devkit-rust-1/index.rst | 78 ++++++++++++++++++++- 3 files changed, 75 insertions(+), 40 deletions(-) diff --git a/Documentation/platforms/risc-v/esp32c3-legacy/boards/esp32c3-devkit-rust-1/README.txt b/Documentation/platforms/risc-v/esp32c3-legacy/boards/esp32c3-devkit-rust-1/README.txt deleted file mode 100644 index c31d603910e..00000000000 --- a/Documentation/platforms/risc-v/esp32c3-legacy/boards/esp32c3-devkit-rust-1/README.txt +++ /dev/null @@ -1,37 +0,0 @@ -README -====== - - Overview - -------- - Initial port to ESP32C3-Devkit-RUST-1 board: - https://github.com/esp-rs/esp-rust-board - - Testing - ------- - - $ ./tools/configure.sh esp32c3-devkit-rust-1:nsh - $ make - $ make flash ESPTOOL_PORT=/dev/ttyACM0 - - Alternatively you can compile and flash faster this way: - - $ make -j flash ESPTOOL_PORT=/dev/ttyACM0 - - After flashing NuttX in this board use minicom or other serial console - configured to: - - Device: /dev/ttyACM0 - Baudrate: 9600 8n1 - - If everything is fine you should be able to get the serial console: - - nsh> uname -a - NuttX 10.4.0 55df6e951e-dirty Aug 22 2022 17:12:29 risc-v esp32c3-devkit-rust-1 - - nsh> mount - /proc type procfs - - nsh> free - total used free largest nused nfree - Umem: 377872 5792 372080 372080 30 1 - nsh> 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-devkit-rust-1/esp32c3-devkit-rust-1.png new file mode 100644 index 00000000000..1d049663834 Binary files /dev/null and b/Documentation/platforms/risc-v/esp32c3-legacy/boards/esp32c3-devkit-rust-1/esp32c3-devkit-rust-1.png differ 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-devkit-rust-1/index.rst index 77608e05c8b..fcf33e36206 100644 --- a/Documentation/platforms/risc-v/esp32c3-legacy/boards/esp32c3-devkit-rust-1/index.rst +++ b/Documentation/platforms/risc-v/esp32c3-legacy/boards/esp32c3-devkit-rust-1/index.rst @@ -1,6 +1,78 @@ ===================== -esp32c3-devkit-rust-1 +ESP32C3 DevKit RUST-1 ===================== -.. include:: README.txt - :literal: +.. tags:: arch:riscv, vendor:espressif + +.. figure:: esp32c3-devkit-rust-1.png + :figwidth: 30% + :align: center + :alt: ESP32-C3 DevKit-RUST-1 development board. + + ESP32-C3 DevKit-RUST-1 development board. + +To learn more about this board, you can visit the vendor documentation page +`here <https://www.espressif.com/en/dev-board/esp32-c3-devkit-rust-1-en>`_. +There is also an `informational GitHub page here +<https://github.com/esp-rs/esp-rust-board>`_. + +Features +======== + +* IEEE 802.11 b/g/n-compliant +* Bluetooth 5, Bluetooth mesh +* 32-bit RISC-V single-core processor, up to 160MHz +* 384KB ROM +* 400KB SRAM (16 KB for cache) +* 8KB SRAM in RTC +* 22x programmable GPIOs +* 3x SPI +* 2x UART +* 1x I2C +* 1x I2S +* 2x 54-bit general-purpose timers +* 3x watchdog timers +* 1x 52-bit system timer +* Remote Control Peripheral (RMT) +* LED PWM controller (LEDC) +* Full-speed USB Serial/JTAG controller +* General DMA controller (GDMA) +* 1x TWAI +* 2x 12-bit SAR ADCs, up to 6 channels +* 1x SHTC3 temperature sensor +* 1x ICM-42670-P IMU + +Power Supply +============ + +The board can be powered via USB-C. There is also a battery charging unit +that will power a connected Li-Ion or LiPo up to 4V2. + +Flashing +======== + +To flash NuttX to the board, you can run: + +.. code:: console + + $ make -j flash ESPTOOL_PORT=/dev/ttyACM0 + +Where you can replace `/dev/ttyACM0` with the name of the port that the device +is connected to. + +Configurations +============== + +To configure NuttX for this board, you can use the following command: + +.. code:: console + + $ ./tools/configure.sh esp32c3-devkit-rust-1:<config> + +Where ``<config>`` is one of the configurations listed below. + +nsh +--- + +This is a simple configuration with the NSH shell on the serial console. The +baud rate settings to connect to the serial console are 9600bps, 8N1.
