Ouss4 commented on a change in pull request #3470:
URL: https://github.com/apache/incubator-nuttx/pull/3470#discussion_r609012023



##########
File path: Documentation/platforms/xtensa/esp32/boards/esp32-devkitc/index.rst
##########
@@ -44,7 +113,31 @@ Configurations
 nsh
 ---
 
-Basic NuttShell configuration (console enabled in UART0, exposed via USB 
connection, at 115200 bps).
+Basic NuttShell configuration (console enabled in UART0, exposed via
+USB connection, at 115200 bps). Note the following:
+
+1. Uses the CP2102 USB/Serial converter for the serial console.
+
+2. I have only tested this in IRAM with UART reconfiguration disabled.
+   See "Sample Debug Steps".  In that case, NuttX is started via GDB.
+   It has, however, been reported to me that this configuration also
+   runs when written to address 0x1000 of FLASH with the esptool.py
+   (as described above).  Then NuttX is started via the second level
+   bootloader.  I cannot vouch for that since I have never tried it.
+
+3. There are open clocking issues.  Currently clock configuration
+   logic is disabled because I don't have the technical information
+   to provide that logic -- hopefully that is coming.  As a
+   consequence, whatever clock setup was left when NuttX started is
+   used.  For the case of execution out of IRAM with GDB, the
+   settings in boards/xtensa/esp32/esp32-devkitc/include/board.h work.
+   To check the timing, I use a stop watch and::
+
+     nsh> sleep 60
+
+   If the timing is correct in the board.h header file, the value
+   timed with the stop watch should be about 60 seconds.  If not,
+   change the frequency in the board.h header file.

Review comment:
       Both 2 and 3.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to