Skip to content

Conversation

@mantriyogesh
Copy link

Checklist

  • Component contains License
  • Component contains README.md
  • Component contains idf_component.yml file with url field defined
  • Component was added to upload job
  • Component was added to build job
  • Optional: Component contains unit tests
  • CI passing

Change description

Building the wifi provisiong for ESP32-P4 using esp_hosted and esp_wifi_remote component

@CLAassistant
Copy link

CLAassistant commented Oct 3, 2025

CLA assistant check
All committers have signed the CLA.

@mantriyogesh
Copy link
Author

@suda-morris PTAL..

@github-actions github-actions bot changed the title Building for ESP32-P4 using esp_hosted and esp_wifi_remote Building for ESP32-P4 using esp_hosted and esp_wifi_remote (IEC-388) Oct 3, 2025
@suda-morris suda-morris requested a review from Copilot October 9, 2025 07:45
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR enables Wi-Fi provisioning support for ESP32-P4 using a two-chip solution with ESP-Hosted and esp_wifi_remote components. The ESP32-P4 connects to an ESP32-C6 co-processor via SDIO for Wi-Fi and Bluetooth functionality.

  • Added ESP32-P4 configuration file with required settings for ESP-Hosted and Wi-Fi remote
  • Updated component dependencies to include esp_wifi_remote and esp_hosted for ESP32-P4/H2 targets
  • Added comprehensive documentation for ESP32-P4 setup and usage

Reviewed Changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 3 comments.

File Description
sdkconfig.defaults.esp32p4 ESP32-P4 specific configuration enabling BT, Wi-Fi remote, and performance settings
main/idf_component.yml Added conditional dependencies for esp_wifi_remote and esp_hosted components
README.md Updated supported targets table and added ESP32-P4 documentation section
CHANGELOG.md Added changelog entry documenting ESP32-P4 support

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@suda-morris suda-morris requested a review from mahavirj October 9, 2025 08:07
@mahavirj mahavirj requested a review from chshu October 9, 2025 08:36
@mantriyogesh mantriyogesh force-pushed the master branch 2 times, most recently from e4d1398 to c90f45b Compare October 9, 2025 08:51
espressif/esp_wifi_remote:
version: ">=0.10"
rules:
- if: "target in [esp32p4, esp32h2]"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shall we remove from H2 from the list? H2 can support thread provisioning in standalone manner.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree that H2 can be removed, as H2 is not mentioned in the supported targets list of README file.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually H2 can use wifi-remote & hosted for wifi provisioning. So should we keep it or not, @mahavirj ?

I will update H2 in supported target accordingly..

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mantriyogesh For H2, we recommend using network_provisioning/examples/thread_prov example. H2 is already listed a supported target here.

Actually H2 can use wifi-remote & hosted for wifi provisioning.

Is this for Thread Boarder router use-case? Does it use hosted approach?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree the H Series would be native wifi provisioning generally be used and is more intuitive.

But if H2 wants to do wifi based provisioning (technically be possible using two chip using esp-wifi-remote & esp-hosted duo).

# Override some defaults so BT stack is enabled
# in this example

CONFIG_FREERTOS_HZ=1000
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably we can remove this - not a mandatory requirement?

espressif/esp_hosted:
version: "~2"
rules:
- if: "target in [esp32p4, esp32h2]"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same comment as earlier to remove H2

@mahavirj
Copy link
Member

mahavirj commented Oct 9, 2025

Please check #592 and see if we can add Closes tag in the commit message

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.

6 participants