From e0401ae18bd1d566ca59871a11e48283ff20341d Mon Sep 17 00:00:00 2001 From: Eren Terzioglu Date: Fri, 9 Jan 2026 17:22:32 +0100 Subject: [PATCH] Docs/platforms/espressif: Add SPI docs for esp32s2 Add SPI defconfig docs for esp32s2-saola-1 Signed-off-by: Eren Terzioglu --- .../xtensa/esp32s2/boards/esp32s2-saola-1/index.rst | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Documentation/platforms/xtensa/esp32s2/boards/esp32s2-saola-1/index.rst b/Documentation/platforms/xtensa/esp32s2/boards/esp32s2-saola-1/index.rst index 8d2bc79896c..3cd9b2ea88d 100644 --- a/Documentation/platforms/xtensa/esp32s2/boards/esp32s2-saola-1/index.rst +++ b/Documentation/platforms/xtensa/esp32s2/boards/esp32s2-saola-1/index.rst @@ -653,6 +653,17 @@ For example, you can read a file and write to it:: NuttX RTOS nsh> +spi +--- + +This configuration enables the support for the SPI driver. +You can test it by connecting MOSI and MISO pins which are GPIO11 and GPIO13 +by default to each other and running the ``spi`` example:: + + nsh> spi exch -b 2 "AB" + Sending: AB + Received: AB + timer -----