Skip to content

boards/risc-v/esp32p4-tab5: add support for Python defconfig#19458

Open
fdcavalcanti wants to merge 2 commits into
apache:masterfrom
fdcavalcanti:feature/tab5-python
Open

boards/risc-v/esp32p4-tab5: add support for Python defconfig#19458
fdcavalcanti wants to merge 2 commits into
apache:masterfrom
fdcavalcanti:feature/tab5-python

Conversation

@fdcavalcanti

@fdcavalcanti fdcavalcanti commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

Summary

  • documentation: add Python defconfig to esp32p4-tab5 board

Adds description of Python defconfig for Tab5 board.

  • boards/risc-v/esp32p4-tab5: add support for Python deconfig

Adds support for Python on M5 Stack ESP32-P4 Tab5 board.
This board runs on P4 chip revision v1.3 and needs special changes in linker
script.

Impact

Impact on user: Adds Python defconfig for esp32p4-tab5.

Impact on build: No.

Impact on hardware: Only affects esp32p4-tab5 board.

Impact on documentation: Yes, updates documentation page of esp32p4-tab5.

Impact on security: No.

Impact on compatibility: No.

Testing

Tested on M5 Stack ESP32-P4 Tab 5 board which does not have ethernet and Wi-Fi is not yet supported.
This requires changes on NuttX of this MR.

Building

  • ./tools/configure.sh -S esp32p4-tab5:python
  • Make and flash

Results

Device boots and Python is available.

*** Booting NuttX ***
tcm: lma 0x00002020 vma 0x30100000 len 0x68     (104)
dram: lma 0x00002090 vma 0x4ff00000 len 0xa5ec   (42476)
dram: lma 0x0000c684 vma 0x4ff40000 len 0x22c2c  (142380)
padd: lma 0x0002f2c8 vma 0x00000000 len 0xd50    (3408)
imap: lma 0x00030020 vma 0x40200020 len 0xc29060 (12750944)
padd: lma 0x00c59088 vma 0x00000000 len 0x6f70   (28528)
imap: lma 0x00c60000 vma 0x40000000 len 0x1f315c (2044252)
total segments stored 7
WARNING: NuttX supports ESP32-P4 chip revision > v3.0 (chip revision is v1.3).
Ignoring this error and continuing because `CONFIG_ESP32P4_SELECTS_REV_LESS_V3` is set...
THIS MAY NOT WORK! DON'T USE THIS CHIP IN PRODUCTION!

NuttShell (NSH) NuttX-10.4.0
nsh> python
Python 3.13.0 (main, Jul 15 2026, 14:31:34) [GCC 14.2.0] on nuttx
Type "help", "copyright", "credits" or "license" for more information.
>>> print("Hello NuttX!")
Hello NuttX!
>>> 

Adds support for Python on M5 Stack ESP32-P4 Tab5 board.
This board runs on P4 chip revision v1.3 and needs special changes in linker
script.

Signed-off-by: Filipe Cavalcanti <filipe.cavalcanti@espressif.com>
Adds description of Python defconfig for Tab5 board.

Signed-off-by: Filipe Cavalcanti <filipe.cavalcanti@espressif.com>
@fdcavalcanti fdcavalcanti changed the title Feature/tab5 python boards/risc-v/esp32p4-tab5: add support for Python deconfig Jul 16, 2026
@fdcavalcanti fdcavalcanti changed the title boards/risc-v/esp32p4-tab5: add support for Python deconfig boards/risc-v/esp32p4-tab5: add support for Python defconfig Jul 16, 2026
@github-actions github-actions Bot added Area: Documentation Improvements or additions to documentation Size: M The size of the change in this PR is medium Board: risc-v labels Jul 16, 2026
@github-actions

Copy link
Copy Markdown

MemBrowse Memory Report

No memory changes detected for:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area: Documentation Improvements or additions to documentation Board: risc-v Size: M The size of the change in this PR is medium

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants