Skip to content

feat(idf): Add support for ESP32-S31#12677

Draft
me-no-dev wants to merge 7 commits into
masterfrom
release/v4.0.x
Draft

feat(idf): Add support for ESP32-S31#12677
me-no-dev wants to merge 7 commits into
masterfrom
release/v4.0.x

Conversation

@me-no-dev

Copy link
Copy Markdown
Member

No description provided.

Copilot AI review requested due to automatic review settings June 11, 2026 07:45

@espressif-bot espressif-bot Jun 11, 2026

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Merge request must include a release note, or it needs to be processed first.

Details

Open

@github-actions

github-actions Bot commented Jun 11, 2026

Copy link
Copy Markdown
Contributor
Warnings
⚠️ The Pull Request description is empty. Please provide a detailed description.

👋 Hello me-no-dev, we appreciate your contribution to this project!


📘 Please review the project's Contributions Guide for key guidelines on code, documentation, testing, and more.

🖊️ Please also make sure you have read and signed the Contributor License Agreement for this project.

Click to see more instructions ...


This automated output is generated by the PR linter DangerJS, which checks if your Pull Request meets the project's requirements and helps you fix potential issues.

DangerJS is triggered with each push event to a Pull Request and modify the contents of this comment.

Please consider the following:
- Danger mainly focuses on the PR structure and formatting and can't understand the meaning behind your code or changes.
- Danger is not a substitute for human code reviews; it's still important to request a code review from your colleagues.
- Resolve all warnings (⚠️ ) before requesting a review from human reviewers - they will appreciate it.
- To manually retry these Danger checks, please navigate to the Actions tab and re-run last Danger workflow.

Review and merge process you can expect ...


We do welcome contributions in the form of bug reports, feature requests and pull requests.

1. An internal issue has been created for the PR, we assign it to the relevant engineer.
2. They review the PR and either approve it or ask you for changes or clarifications.
3. Once the GitHub PR is approved we do the final review, collect approvals from core owners and make sure all the automated tests are passing.
- At this point we may do some adjustments to the proposed change, or extend it by adding tests or documentation.
4. If the change is approved and passes the tests it is merged into the default branch.

Generated by 🚫 dangerJS against b1477f4

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 updates the Arduino-ESP32 core/component and related examples/CI selectors to build and validate against ESP-IDF v6.1, including accommodating upstream API/header changes and a Kconfig symbol rename for ESP-Hosted.

Changes:

  • Update ESP-Hosted feature detection across libraries/examples/CI from CONFIG_ESP_WIFI_REMOTE_ENABLED to CONFIG_ESP_HOSTED_ENABLED.
  • Add ESP-IDF v6.1 compatibility shims for UART clock atomic sections and LEDC LL LEDC_LL_GET_HW() signature changes.
  • Extend component/CI version ranges to include ESP-IDF release-v6.1 and allow IDF <6.2.

Reviewed changes

Copilot reviewed 126 out of 126 changed files in this pull request and generated 6 comments.

Show a summary per file
File Description
tests/validation/wifi/ci.yml Update validation selector to use ESP-Hosted Kconfig symbol
tests/validation/signed_ota/ci.yml Update validation selector to use ESP-Hosted Kconfig symbol
libraries/WiFiProv/examples/WiFiProv/WiFiProv.ino Switch ESP-Hosted guard symbol for unsupported feature message
libraries/WiFi/src/WiFiType.h Switch WiFi compile guard symbol to ESP-Hosted
libraries/WiFi/src/WiFiSTA.h Switch WiFi compile guard symbol to ESP-Hosted
libraries/WiFi/src/WiFiSTA.cpp Switch WiFi compile guard symbol to ESP-Hosted
libraries/WiFi/src/WiFiScan.h Switch WiFi compile guard symbol to ESP-Hosted
libraries/WiFi/src/WiFiScan.cpp Switch WiFi compile guard symbol to ESP-Hosted
libraries/WiFi/src/WiFiMulti.h Switch WiFi compile guard symbol to ESP-Hosted
libraries/WiFi/src/WiFiMulti.cpp Switch WiFi compile guard symbol to ESP-Hosted
libraries/WiFi/src/WiFiGeneric.h Switch WiFi compile guard symbol + hosted-only API guard
libraries/WiFi/src/WiFiGeneric.cpp Switch ESP-Hosted feature guards affecting SmartConfig / hosted init
libraries/WiFi/src/WiFiAP.h Switch WiFi compile guard symbol to ESP-Hosted
libraries/WiFi/src/WiFiAP.cpp Switch WiFi compile guard symbol to ESP-Hosted
libraries/WiFi/src/WiFi.h Switch WiFi compile guard symbol to ESP-Hosted
libraries/WiFi/src/WiFi.cpp Switch WiFi compile guard symbol to ESP-Hosted
libraries/WiFi/src/STA.cpp Switch WiFi compile guard symbol to ESP-Hosted
libraries/WiFi/src/AP.cpp Switch WiFi compile guard symbol to ESP-Hosted
libraries/WiFi/examples/WPS/WPS.ino Switch ESP-Hosted guard symbol for unsupported feature message
libraries/WiFi/examples/WiFiUDPClient/ci.yml Update example CI selector to ESP-Hosted symbol
libraries/WiFi/examples/WiFiTelnetToSerial/ci.yml Update example CI selector to ESP-Hosted symbol
libraries/WiFi/examples/WiFiSmartConfig/WiFiSmartConfig.ino Switch ESP-Hosted guard symbol for unsupported feature message
libraries/WiFi/examples/WiFiScanTime/ci.yml Update example CI selector to ESP-Hosted symbol
libraries/WiFi/examples/WiFiScanDualAntenna/ci.yml Update example CI selector to ESP-Hosted symbol
libraries/WiFi/examples/WiFiScanAsync/ci.yml Update example CI selector to ESP-Hosted symbol
libraries/WiFi/examples/WiFiScan/ci.yml Update example CI selector to ESP-Hosted symbol
libraries/WiFi/examples/WiFiMultiEnterprise/ci.yml Update example CI selector to ESP-Hosted symbol
libraries/WiFi/examples/WiFiMultiAdvanced/ci.yml Update example CI selector to ESP-Hosted symbol
libraries/WiFi/examples/WiFiMulti/ci.yml Update example CI selector to ESP-Hosted symbol
libraries/WiFi/examples/WiFiIPv6/ci.yml Update example CI selector to ESP-Hosted symbol
libraries/WiFi/examples/WiFiExtender/ci.yml Update example CI selector to ESP-Hosted symbol
libraries/WiFi/examples/WiFiClientStaticIP/ci.yml Update example CI selector to ESP-Hosted symbol
libraries/WiFi/examples/WiFiClientEvents/ci.yml Update example CI selector to ESP-Hosted symbol
libraries/WiFi/examples/WiFiClientEnterprise/WiFiClientEnterprise.ino Switch ESP-Hosted guard symbol for unsupported feature message
libraries/WiFi/examples/WiFiClientConnect/ci.yml Update example CI selector to ESP-Hosted symbol
libraries/WiFi/examples/WiFiClientBasic/ci.yml Update example CI selector to ESP-Hosted symbol
libraries/WiFi/examples/WiFiClient/ci.yml Update example CI selector to ESP-Hosted symbol
libraries/WiFi/examples/WiFiBlueToothSwitch/ci.yml Update example CI selector to ESP-Hosted symbol
libraries/WiFi/examples/WiFiAccessPoint/ci.yml Update example CI selector to ESP-Hosted symbol
libraries/WiFi/examples/SimpleWiFiServer/ci.yml Update example CI selector to ESP-Hosted symbol
libraries/WiFi/examples/FTM/FTM_Responder/ci.yml Update example CI selector to ESP-Hosted symbol
libraries/WiFi/examples/FTM/FTM_Initiator/ci.yml Update example CI selector to ESP-Hosted symbol
libraries/WebServer/examples/WebUpdate/ci.yml Update example CI selector to ESP-Hosted symbol
libraries/WebServer/examples/WebServer/ci.yml Update example CI selector to ESP-Hosted symbol
libraries/WebServer/examples/UploadHugeFile/ci.yml Update example CI selector to ESP-Hosted symbol
libraries/WebServer/examples/SimpleAuthentification/ci.yml Update example CI selector to ESP-Hosted symbol
libraries/WebServer/examples/SDWebServer/ci.yml Update example CI selector to ESP-Hosted symbol
libraries/WebServer/examples/PathArgServer/ci.yml Update example CI selector to ESP-Hosted symbol
libraries/WebServer/examples/MultiHomedServers/ci.yml Update example CI selector to ESP-Hosted symbol
libraries/WebServer/examples/HttpBasicAuthSHA1orBearerToken/ci.yml Update example CI selector to ESP-Hosted symbol
libraries/WebServer/examples/HttpBasicAuthSHA1/ci.yml Update example CI selector to ESP-Hosted symbol
libraries/WebServer/examples/HttpBasicAuth/ci.yml Update example CI selector to ESP-Hosted symbol
libraries/WebServer/examples/HttpAuthCallbackInline/ci.yml Update example CI selector to ESP-Hosted symbol
libraries/WebServer/examples/HttpAuthCallback/ci.yml Update example CI selector to ESP-Hosted symbol
libraries/WebServer/examples/HttpAdvancedAuth/ci.yml Update example CI selector to ESP-Hosted symbol
libraries/WebServer/examples/HelloServer/ci.yml Update example CI selector to ESP-Hosted symbol
libraries/WebServer/examples/FSBrowser/ci.yml Update example CI selector to ESP-Hosted symbol
libraries/WebServer/examples/Filters/ci.yml Update example CI selector to ESP-Hosted symbol
libraries/WebServer/examples/ChunkWriting/ci.yml Update example CI selector to ESP-Hosted symbol
libraries/WebServer/examples/AdvancedWebServer/ci.yml Update example CI selector to ESP-Hosted symbol
libraries/Update/examples/Signed_OTA_Update/ci.yml Update example CI selector to ESP-Hosted symbol
libraries/Update/examples/OTAWebUpdater/ci.yml Update example CI selector to ESP-Hosted symbol
libraries/Update/examples/HTTPS_OTA_Update/ci.yml Update example CI selector to ESP-Hosted symbol
libraries/Update/examples/HTTP_Server_AES_OTA_Update/ci.yml Update example CI selector to ESP-Hosted symbol
libraries/Update/examples/HTTP_Client_AES_OTA_Update/ci.yml Update example CI selector to ESP-Hosted symbol
libraries/Update/examples/AWS_S3_OTA_Update/ci.yml Update example CI selector to ESP-Hosted symbol
libraries/SPIFFS/examples/SPIFFS_time/ci.yml Update example CI selector to ESP-Hosted symbol
libraries/SD/examples/SD_time/ci.yml Update example CI selector to ESP-Hosted symbol
libraries/SD_MMC/examples/SDMMC_time/ci.yml Update example CI selector to ESP-Hosted symbol
libraries/RainMaker/examples/RMakerSwitch/ci.yml Update example CI selector to ESP-Hosted symbol
libraries/RainMaker/examples/RMakerSonoffDualR3/ci.yml Update example CI selector to ESP-Hosted symbol
libraries/RainMaker/examples/RMakerCustomAirCooler/ci.yml Update example CI selector to ESP-Hosted symbol
libraries/RainMaker/examples/RMakerCustom/ci.yml Update example CI selector to ESP-Hosted symbol
libraries/PPP/src/PPP.cpp Add ESP-IDF v6.1 UART clock atomic compatibility include/macro
libraries/PPP/examples/PPP_WIFI_BRIDGE/ci.yml Update example CI selector to ESP-Hosted symbol
libraries/NetworkClientSecure/examples/WiFiClientTrustOnFirstUse/ci.yml Update example CI selector to ESP-Hosted symbol
libraries/NetworkClientSecure/examples/WiFiClientShowPeerCredentials/ci.yml Update example CI selector to ESP-Hosted symbol
libraries/NetworkClientSecure/examples/WiFiClientSecureProtocolUpgrade/ci.yml Update example CI selector to ESP-Hosted symbol
libraries/NetworkClientSecure/examples/WiFiClientSecureEnterprise/WiFiClientSecureEnterprise.ino Switch ESP-Hosted guard symbol for unsupported feature message
libraries/NetworkClientSecure/examples/WiFiClientSecure/ci.yml Update example CI selector to ESP-Hosted symbol
libraries/NetworkClientSecure/examples/WiFiClientPSK/ci.yml Update example CI selector to ESP-Hosted symbol
libraries/NetworkClientSecure/examples/WiFiClientInsecure/ci.yml Update example CI selector to ESP-Hosted symbol
libraries/Network/src/NetworkInterface.cpp Switch WiFi/hosted event mapping guard to ESP-Hosted symbol
libraries/Network/src/NetworkEvents.h Switch WiFi event definitions/include guards to ESP-Hosted symbol
libraries/Network/src/NetworkEvents.cpp Switch WiFi event name mapping guard to ESP-Hosted symbol
libraries/NetBIOS/examples/ESP_NBNST/ci.yml Update example CI selector to ESP-Hosted symbol
libraries/LittleFS/examples/LITTLEFS_time/ci.yml Update example CI selector to ESP-Hosted symbol
libraries/Insights/examples/MinimalDiagnostics/ci.yml Update example CI selector to ESP-Hosted symbol
libraries/Insights/examples/DiagnosticsSmokeTest/ci.yml Update example CI selector to ESP-Hosted symbol
libraries/HTTPUpdateServer/examples/WebUpdater/ci.yml Update example CI selector to ESP-Hosted symbol
libraries/HTTPUpdate/examples/httpUpdateSPIFFS/ci.yml Update example CI selector to ESP-Hosted symbol
libraries/HTTPUpdate/examples/httpUpdateSecure/ci.yml Update example CI selector to ESP-Hosted symbol
libraries/HTTPUpdate/examples/httpUpdate/ci.yml Update example CI selector to ESP-Hosted symbol
libraries/HTTPClient/examples/StreamHttpClient/ci.yml Update example CI selector to ESP-Hosted symbol
libraries/HTTPClient/examples/ReuseConnection/ci.yml Update example CI selector to ESP-Hosted symbol
libraries/HTTPClient/examples/HTTPClientEnterprise/HTTPClientEnterprise.ino Switch ESP-Hosted guard symbol for unsupported feature message
libraries/HTTPClient/examples/CustomHeaders/ci.yml Update example CI selector to ESP-Hosted symbol
libraries/HTTPClient/examples/BasicHttpsClient/ci.yml Update example CI selector to ESP-Hosted symbol
libraries/HTTPClient/examples/BasicHttpClient/ci.yml Update example CI selector to ESP-Hosted symbol
libraries/HTTPClient/examples/Authorization/ci.yml Update example CI selector to ESP-Hosted symbol
libraries/FFat/examples/FFat_time/ci.yml Update example CI selector to ESP-Hosted symbol
libraries/Ethernet/examples/ETH_WIFI_BRIDGE/ci.yml Update example CI selector to ESP-Hosted symbol
libraries/ESPmDNS/examples/mDNS-SD_Extended/ci.yml Update example CI selector to ESP-Hosted symbol
libraries/ESPmDNS/examples/mDNS_Web_Server/ci.yml Update example CI selector to ESP-Hosted symbol
libraries/ESP32/examples/Time/SimpleTime/ci.yml Update example CI selector to ESP-Hosted symbol
libraries/ESP_NOW/src/ESP32_NOW.h Switch ESP-Hosted guard symbol for unsupported feature warning
libraries/ESP_NOW/src/ESP32_NOW.cpp Switch ESP-Hosted guard symbol for unsupported feature warning
libraries/ESP_NOW/src/ESP32_NOW_Serial.h Switch ESP-Hosted guard symbol for unsupported feature warning
libraries/ESP_NOW/src/ESP32_NOW_Serial.cpp Switch ESP-Hosted guard symbol for unsupported feature warning
libraries/ESP_HostedOTA/src/ESP_HostedOTA.cpp Switch hosted OTA compile guard to ESP-Hosted symbol
libraries/ESP_HostedOTA/examples/ESP_HostedOTA/ci.yml Update example CI selector to ESP-Hosted symbol
libraries/DNSServer/examples/CaptivePortal/ci.yml Update example CI selector to ESP-Hosted symbol
libraries/Console/examples/ConsoleWiFi/ci.yml Update example CI selector to ESP-Hosted symbol
libraries/AsyncUDP/examples/AsyncUDPServer/ci.yml Update example CI selector to ESP-Hosted symbol
libraries/AsyncUDP/examples/AsyncUDPMulticastServer/ci.yml Update example CI selector to ESP-Hosted symbol
libraries/AsyncUDP/examples/AsyncUDPClient/ci.yml Update example CI selector to ESP-Hosted symbol
libraries/ArduinoOTA/examples/SignedOTA/ci.yml Update example CI selector to ESP-Hosted symbol
libraries/ArduinoOTA/examples/BasicOTA/ci.yml Update example CI selector to ESP-Hosted symbol
idf_component.yml Expand supported ESP-IDF version range to include v6.1
cores/esp32/esp32-hal-uart.c Add ESP-IDF v6.1 UART clock atomic compatibility include/macro
cores/esp32/esp32-hal-periman.h Switch ESP-Hosted pin bus type guards to ESP-Hosted symbol
cores/esp32/esp32-hal-periman.c Switch ESP-Hosted pin bus type name guards to ESP-Hosted symbol
cores/esp32/esp32-hal-ledc.c Add ESP-IDF v6.1 LEDC LL HW accessor compatibility shim
cores/esp32/esp32-hal-hosted.h Switch ESP-Hosted API header guard to ESP-Hosted symbol
cores/esp32/esp32-hal-hosted.c Switch ESP-Hosted implementation guard to ESP-Hosted symbol
.github/workflows/build_component.yml Add ESP-IDF release-v6.1 to default component build matrix

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread libraries/WiFi/src/WiFiType.h
Comment thread libraries/WiFi/src/WiFiGeneric.cpp
Comment thread cores/esp32/esp32-hal-hosted.h
Comment thread cores/esp32/esp32-hal-periman.h
Comment thread tests/validation/wifi/ci.yml
Comment thread libraries/Network/src/NetworkEvents.h
@github-actions

github-actions Bot commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

Test Results

  148 files    148 suites   44m 13s ⏱️
  337 tests   337 ✅ 0 💤 0 ❌
2 948 runs  2 940 ✅ 8 💤 0 ❌

Results for commit b1477f4.

♻️ This comment has been updated with latest results.

@me-no-dev me-no-dev marked this pull request as draft June 11, 2026 09:07
Comment thread .github/scripts/socs_config.sh

@lucasssvaz lucasssvaz left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

@me-no-dev me-no-dev force-pushed the release/v4.0.x branch 2 times, most recently from 211e57d to 4e0d0b2 Compare June 15, 2026 13:26
@me-no-dev me-no-dev changed the title feat(idf): Add support for ESP-IDF v6.1 feat(idf): Add support for ESP32-S31 Jun 16, 2026
Comment thread boards.txt
Comment thread boards.txt
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.

6 participants