Skip to content

Conversation

@dpgeorge
Copy link
Member

@dpgeorge dpgeorge commented Dec 4, 2025

Summary

The ESP32-P4 currently comes in three revisions (0.0, 0.1 and 1.0) and all of them are out in the wild. Even though the IDF defaults to a minimum of 0.1 we would like to support as many as possible, so configure MicroPython to work down to revision 0.0.

The firmware only grows by 32 bytes when enabling this option, so it probably doesn't make much difference at runtime.

See comment #17951 (comment)

Testing

Tested on a Firebeetle 2, running the standard test suite passes.

@dpgeorge dpgeorge added this to the release-1.27.0 milestone Dec 4, 2025
@dpgeorge dpgeorge requested a review from projectgus December 4, 2025 01:45
@dpgeorge dpgeorge mentioned this pull request Dec 4, 2025
@dpgeorge
Copy link
Member Author

dpgeorge commented Dec 7, 2025

Also updated esp_hosted component to the latest version 2.7.0, to work around the problem that version 2.2.4 (the one we are currently using) has disappeared from the IDF component manager.

The ESP32-P4 currently comes in three revisions (0.0, 0.1 and 1.0) and all
of them are out in the wild.  Even though the IDF defaults to a minimum of
0.1 we would like to support as many as possible, so configure MicroPython
to work down to revision 0.0.

The firmware only grows by 32 bytes when enabling this option.

Signed-off-by: Damien George <damien@micropython.org>
This updates the esp_hosted component for ESP32-P4 boards to use the latest
version 2.7.0.  Testing on a P4 board with C6 WiFi shows there are no
regressions for WiFi or BLE.

Also rename the `CONFIG_ESP_ENABLE_BT` option to the new
`CONFIG_ESP_HOSTED_ENABLE_BT_NIMBLE` option used by the component.

This change is made partly to work around a current issue with the IDF
component manager, that esp_hosted versions after 2.0.17 and prior to
2.7.0 have all disappeared.

Signed-off-by: Damien George <damien@micropython.org>
@dpgeorge dpgeorge merged commit 7702f7f into micropython:master Dec 8, 2025
10 checks passed
@dpgeorge dpgeorge deleted the esp32-p4-rev-min-0 branch December 8, 2025 01:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant