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

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

commit 453c6f75cf55fead65d4c2190d7094e4a0abccc6
Author: Eren Terzioglu <eren.terzio...@espressif.com>
AuthorDate: Sat Mar 1 18:55:42 2025 +0100

    Documentation/esp32: Add snake defconfig docs for esp32
    
    Add snake defconfig docs for esp32 devkitc board
    
    Signed-off-by: Eren Terzioglu <eren.terzio...@espressif.com>
---
 .../xtensa/esp32/boards/esp32-devkitc/index.rst          | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git 
a/Documentation/platforms/xtensa/esp32/boards/esp32-devkitc/index.rst 
b/Documentation/platforms/xtensa/esp32/boards/esp32-devkitc/index.rst
index e239c4426d..715c8e93ea 100644
--- a/Documentation/platforms/xtensa/esp32/boards/esp32-devkitc/index.rst
+++ b/Documentation/platforms/xtensa/esp32/boards/esp32-devkitc/index.rst
@@ -928,6 +928,22 @@ The apps/testing/smp test is included::
   CONFIG_TESTING_SMP_PRIORITY=100
   CONFIG_TESTING_SMP_STACKSIZE=2048
 
+snake
+-----
+
+This configuration enables snake game using led matrix (ws2812) and gpio pins.
+Alternatively, you can use serial console for input with enabling 
`GAMES_SNAKE_USE_CONSOLEKEY`
+option.
+
+You can run the game by using ``snake`` command::
+
+    nsh> snake
+
+Here is the sample wiring diagram that demonstrates how to wire ws2812 with 
buttons for snake example:
+
+.. figure:: esp32-brickmatch-game-schematic.jpg
+    :align: center
+
 sotest
 ------
 

Reply via email to