Skip to content

Support esp_wifi_remote for esp32p4.#640

Merged
ivmarkov merged 1 commit intoesp-rs:masterfrom
mdwn:esp32p4-wifi
Feb 24, 2026
Merged

Support esp_wifi_remote for esp32p4.#640
ivmarkov merged 1 commit intoesp-rs:masterfrom
mdwn:esp32p4-wifi

Conversation

@mdwn
Copy link
Contributor

@mdwn mdwn commented Feb 18, 2026

Thank you for your contribution!

We appreciate the time and effort you've put into this pull request.
To help us review it efficiently, please ensure you've gone through the following checklist:

Submission Checklist 📝

  • I have updated existing examples or added new ones (if applicable).
  • I have used cargo fmt command to ensure that all changed code is formatted correctly.
  • I have used cargo clippy command to ensure that all changed code passes latest Clippy nightly lints.
  • My changes were added to the CHANGELOG.md in the proper section.

Pull Request Details 📖

Description

Wifi is now supported for esp32p4 via the use of esp_wifi_remote. This is largely a drop in replacement, but has some behavioral differences, so we have some branching paths that are more tolerant of failure in this situations.

Testing

Using a small test app and some changes from esp-idf-sys:

I (3589) RPC_WRAP: Coprocessor Boot-up
E (3740) system_api: 0 mac type is incorrect (not found)
E (3741) system_api: 1 mac type is incorrect (not found)
W (3766) rpc_utils: Event: SSID XXXXX
I (3785) osc_pedal: Starting WiFi...
I (3892) RPC_WRAP: ESP Event: wifi station started
I (3912) RPC_WRAP: ESP Event: wifi station started
I (4028) osc_pedal: WiFi started. Connecting...
I (4028) H_API: esp_wifi_remote_connect
I (6923) RPC_WRAP: ESP Event: Station mode: Connected
I (6923) esp_wifi_remote: esp_wifi_internal_reg_rxcb: sta: 0x40077b54
I (6940) osc_pedal: WiFi connected. Waiting for network interface...
I (8348) esp_netif_handlers: sta ip: 192.168.1.130, mask: 255.255.0.0, gw: 192.168.1.1
I (8376) osc_pedal: WiFi connected! IP: 192.168.1.130
I (8376) osc_pedal: WiFi test passed!

Related to:

Wifi is now supported for esp32p4 via the use of esp_wifi_remote. This
is largely a drop in replacement, but has some behavioral differences,
so we have some branching paths that are more tolerant of failure in
this situations.
@ivmarkov
Copy link
Collaborator

What can I say? Really cool! Thanks!

@ivmarkov ivmarkov merged commit 82b0bd4 into esp-rs:master Feb 24, 2026
25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants