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:
Glauber Maroto Ferreira 2021-11-17 17:18:28 -03:00 committed by Anas Nashif
commit 66130da4c9

View file

@ -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 size is greater than ESP_HEAP_MIN_EXTRAM_THRESHOLD, memory is allocated from
SPIRAM. SPIRAM.
Supported SoCs
**************
The following SoCs are supported by this sample code so far:
* ESP32
* ESP32-S2
Building and Running 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 .. code-block:: console
west build -b esp32 samples/boards/esp32/spiram_test 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 Sample Output
============= =============
To check output of this sample, any serial console program can be used (i.e. on Linux minicom, putty, screen, etc) To check output of this sample, run ``west espressif monitor`` or any other serial
This example uses ``picocom`` on the serial port ``/dev/ttyUS0``: 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 .. code-block:: console