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 144cfecc9ae1a5414c06e5e2ff5b71dc79d4acce
Author: Tiago Medicci Serrano <[email protected]>
AuthorDate: Fri May 22 16:04:15 2026 +0200

    Documentation: Add entry for Python on ESP32-P4
    
    Add entries related to the Python interpreter for ESP32-P4.
    
    Signed-off-by: Tiago Medicci Serrano <[email protected]>
---
 .../applications/interpreters/python/index.rst     | 29 ++++++++++++++++++++++
 .../boards/esp32p4-function-ev-board/index.rst     |  6 +++++
 2 files changed, 35 insertions(+)

diff --git a/Documentation/applications/interpreters/python/index.rst 
b/Documentation/applications/interpreters/python/index.rst
index 7e75f61b2ab..1cc44b57d07 100644
--- a/Documentation/applications/interpreters/python/index.rst
+++ b/Documentation/applications/interpreters/python/index.rst
@@ -104,3 +104,32 @@ You will see the NuttShell (NSH) prompt. Run the following 
commands:
    Python 3.13.0 (main, Dec  4 2024, 17:00:42) [GCC 13.2.0] on nuttx
    Type "help", "copyright", "credits" or "license" for more information.
    >>>
+
+ESP32-P4
+--------
+
+For this example, we will use the ESP32-P4-Function-EV-Board.
+Use the ``esp32p4-function-ev-board:python`` config to build
+Python for NuttX.
+
+Build and flash the ESP32-P4 board with the following commands:
+
+.. code:: console
+
+   $ make distclean
+   $ ./tools/configure.sh -S esp32p4-function-ev-board:python
+   $ make flash ESPTOOL_PORT=/dev/ttyACM0 -s -j$(nproc)
+   $ picocom -b 115200 /dev/ttyUSB1
+
+To run Python on ESP32-P4, just open a serial terminal to connect to the board.
+You will see the NuttShell (NSH) prompt. Run the following commands:
+
+.. code:: console
+
+   nsh> python
+   Python 3.13.0 (main, May 22 2026, 15:27:11) [GCC 14.2.0] on nuttx
+   Type "help", "copyright", "credits" or "license" for more information.
+   >>>
+
+.. warning:: Note that Python for ESP32-P4 supports `pip` to install local
+   pure-python packages. It also supports the `ctypes` module.
diff --git 
a/Documentation/platforms/risc-v/esp32p4/boards/esp32p4-function-ev-board/index.rst
 
b/Documentation/platforms/risc-v/esp32p4/boards/esp32p4-function-ev-board/index.rst
index 1a76190ad9a..5efdd78dc88 100644
--- 
a/Documentation/platforms/risc-v/esp32p4/boards/esp32p4-function-ev-board/index.rst
+++ 
b/Documentation/platforms/risc-v/esp32p4/boards/esp32p4-function-ev-board/index.rst
@@ -366,6 +366,12 @@ pwm
 
 Demonstrates PWM via LEDC. The ``pwm`` app toggles output with default 
frequency/duty.
 
+python
+------
+
+This configuration enables the Python for ESP32-P4.
+Please refer to the :doc:`Python Interpreter 
</applications/interpreters/python/index>` page.
+
 qencoder
 --------
 

Reply via email to