mirror of
https://github.com/apache/nuttx.git
synced 2026-05-28 11:56:10 +08:00
docs/platforms/risc-v/esp32c3-legacy/boards/esp32c3-devkit-rust-1: Migrate README.txt
Build Documentation / build-html (push) Has been cancelled
Build Documentation / build-html (push) Has been cancelled
Migrate README.txt to RST, adhering to the standard board documentation template. Signed-off-by: Matteo Golin <matteo.golin@gmail.com>
This commit is contained in:
@@ -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>
|
||||
BIN
Binary file not shown.
|
After Width: | Height: | Size: 1.0 MiB |
+75
-3
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user