You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by ac...@apache.org on 2021/11/09 12:23:10 UTC

[incubator-nuttx] 05/05: Documentation/esp32c3: Document the CDC console defconfig.

This is an automated email from the ASF dual-hosted git repository.

acassis pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git

commit 00befc4ec670b7158d50f23f799b4ad0bea114cf
Author: Abdelatif Guettouche <ab...@espressif.com>
AuthorDate: Mon Nov 8 19:00:47 2021 +0100

    Documentation/esp32c3: Document the CDC console defconfig.
    
    Signed-off-by: Abdelatif Guettouche <ab...@espressif.com>
---
 .../risc-v/esp32c3/boards/esp32c3-devkit/index.rst         | 14 ++++++++++++++
 Documentation/platforms/risc-v/esp32c3/index.rst           |  7 ++++---
 2 files changed, 18 insertions(+), 3 deletions(-)

diff --git a/Documentation/platforms/risc-v/esp32c3/boards/esp32c3-devkit/index.rst b/Documentation/platforms/risc-v/esp32c3/boards/esp32c3-devkit/index.rst
index 180245a..f68af97 100644
--- a/Documentation/platforms/risc-v/esp32c3/boards/esp32c3-devkit/index.rst
+++ b/Documentation/platforms/risc-v/esp32c3/boards/esp32c3-devkit/index.rst
@@ -95,3 +95,17 @@ To test it, just run the following command::
   nsh> watcher
   nsh> watched
 
+usbconsole
+==========
+
+This configuration tests the built-in USB-to-serial converter found in ESP32-C3 (revision 3).
+`esptool` can be used to check the version of the chip and if this feature is
+supported.  Running `esptool.py -p <port> chip_id` should have `Chip is
+ESP32-C3 (revision 3)` in its output.  
+When connecting the board a new device should appear, a `/dev/ttyACMX` on Linux
+or a `/dev/cu.usbmodemXXX` om macOS.  
+This can be used to flash and monitor the device with the usual commands::
+
+    make download ESPTOOL_PORT=/dev/ttyACM0
+    minicom -D /dev/ttyACM0
+
diff --git a/Documentation/platforms/risc-v/esp32c3/index.rst b/Documentation/platforms/risc-v/esp32c3/index.rst
index 3946ae2..d65e1382 100644
--- a/Documentation/platforms/risc-v/esp32c3/index.rst
+++ b/Documentation/platforms/risc-v/esp32c3/index.rst
@@ -101,9 +101,9 @@ Peripheral Support
 
 The following list indicates the state of peripherals' support in NuttX:
 
-========== ======= =====
-Peripheral Support NOTES
-========== ======= =====
+=========== ======= =====
+Peripheral  Support NOTES
+=========== ======= =====
 GPIO         Yes       
 UART         Yes
 SPI          Yes       
@@ -122,6 +122,7 @@ Bluetooth    Yes
 LED_PWM      Yes
 SHA          Yes
 RSA          Yes
+CDC Console  Yes    Rev.3
 ========== ======= =====
 
 Supported Boards