From 6f69891ded1f12a8d89280cdbf72d25c4b408ff2 Mon Sep 17 00:00:00 2001 From: Filipe Cavalcanti Date: Tue, 25 Aug 2026 14:30:40 -0300 Subject: [PATCH] Documentation: add gpio defconfig to esp32p4-tab5 board Adds documentation for the GPIO defconfig on esp32p4-tab5 board. Signed-off-by: Filipe Cavalcanti --- .../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 ---------