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 f9c25ecd695b1471bfc2dc187c1757c23ecc9e5d Author: Eren Terzioglu <eren.terzio...@espressif.com> AuthorDate: Sat Jul 5 18:10:13 2025 +0200 Docs/xtensa: Add match4 game doc for esp32-devkitc Add esp32-devkit match4 doc 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 dde7e6abcd5..d8515fd1235 100644 --- a/Documentation/platforms/xtensa/esp32/boards/esp32-devkitc/index.rst +++ b/Documentation/platforms/xtensa/esp32/boards/esp32-devkitc/index.rst @@ -588,6 +588,22 @@ to demonstrate the use of the userleds subsystem:: led_daemon: LED set 0x00 led_daemon: LED set 0x01 +match4 +------ + +This configuration enables match4 game using led matrix (ws2812) and gpio pins. +Alternatively, you can use serial console for input with enabling `GAMES_MATCH4_USE_CONSOLEKEY` +option. + +You can run the game by using ``match`` command:: + + nsh> match + +Here is the sample wiring diagram that demonstrates how to wire ws2812 with buttons for match4 example: + +.. figure:: esp32-brickmatch-game-schematic.jpg + :align: center + max6675 -------