board: esp32: update SPI RAM sample code documentation
to mention sample code support added for ESP32-S2. Signed-off-by: Glauber Maroto Ferreira <glauber.ferreira@espressif.com>
This commit is contained in:
parent
963a707ae4
commit
66130da4c9
1 changed files with 21 additions and 4 deletions
|
@ -14,21 +14,38 @@ ESP_HEAP_MIN_EXTRAM_THRESHOLD, memory is allocated from internal DRAM. If
|
|||
size is greater than ESP_HEAP_MIN_EXTRAM_THRESHOLD, memory is allocated from
|
||||
SPIRAM.
|
||||
|
||||
Supported SoCs
|
||||
**************
|
||||
|
||||
The following SoCs are supported by this sample code so far:
|
||||
|
||||
* ESP32
|
||||
* ESP32-S2
|
||||
|
||||
Building and Running
|
||||
********************
|
||||
|
||||
Make sure you have the ESP32_WROVER_KIT connected over USB port.
|
||||
Make sure you have your board connected over USB port.
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
west build -b esp32 samples/boards/esp32/spiram_test
|
||||
west flash --esp-device /dev/ttyUSB0
|
||||
west flash
|
||||
|
||||
If using another supported Espressif board, replace the argument in the above
|
||||
command with a proper board name (e.g., `esp32s2_saola`).
|
||||
|
||||
Sample Output
|
||||
=============
|
||||
|
||||
To check output of this sample, any serial console program can be used (i.e. on Linux minicom, putty, screen, etc)
|
||||
This example uses ``picocom`` on the serial port ``/dev/ttyUS0``:
|
||||
To check output of this sample, run ``west espressif monitor`` or any other serial
|
||||
console program (e.g., minicom, putty, screen, etc).
|
||||
This example uses ``west espressif monitor``, which automatically detects the serial
|
||||
port at ``/dev/ttyUSB0``:
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
$ west espressif monitor
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue