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

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

commit 6f69891ded1f12a8d89280cdbf72d25c4b408ff2
Author: Filipe Cavalcanti <[email protected]>
AuthorDate: Tue Aug 25 14:30:40 2026 -0300

    Documentation: add gpio defconfig to esp32p4-tab5 board
    
    Adds documentation for the GPIO defconfig on esp32p4-tab5 board.
    
    Signed-off-by: Filipe Cavalcanti <[email protected]>
---
 .../risc-v/esp32p4/boards/esp32p4-tab5/index.rst       | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git 
a/Documentation/platforms/risc-v/esp32p4/boards/esp32p4-tab5/index.rst 
b/Documentation/platforms/risc-v/esp32p4/boards/esp32p4-tab5/index.rst
index 2d031f73a35..8a78b2fa0a1 100644
--- a/Documentation/platforms/risc-v/esp32p4/boards/esp32p4-tab5/index.rst
+++ b/Documentation/platforms/risc-v/esp32p4/boards/esp32p4-tab5/index.rst
@@ -143,6 +143,24 @@ is printed because the upstream default targets rev >= 3.0.
 Configurations
 ==============
 
+gpio
+----
+
+This is a test for the GPIO driver. It uses GPIO2 as output and
+GPIO3 as an interrupt pin.
+
+At the nsh, we can turn the outputs on and off with the following::
+
+    nsh> gpio -o 1 /dev/gpio0
+    nsh> gpio -o 0 /dev/gpio0
+
+We can use the interrupt pin to send a signal when the interrupt fires::
+
+    nsh> gpio -w 1 /dev/gpio1
+
+The pin is configured as a rising edge interrupt, so after issuing the
+above command, connect it to 3.3V.
+
 lvgl_demo
 ---------
 

Reply via email to