feat(idf): Add support for ESP32-S31#12677
Conversation
There was a problem hiding this comment.
Merge request must include a release note, or it needs to be processed first.
Details
👋 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 ...
Review and merge process you can expect ...
|
There was a problem hiding this comment.
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_ENABLEDtoCONFIG_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.1and 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.
Test Results 148 files 148 suites 44m 13s ⏱️ Results for commit b1477f4. ♻️ This comment has been updated with latest results. |
211e57d to
4e0d0b2
Compare
c8380ac to
b8ea780
Compare
5068f2e to
efe5d3d
Compare
6ed5a8f to
0f05b27
Compare
No description provided.