espressif / arduino-esp32

Arduino core for the ESP32
GNU Lesser General Public License v2.1
13.73k stars 7.43k forks source link

Add support for WiFi to ESP32-P4 #10463

Closed me-no-dev closed 1 month ago

me-no-dev commented 1 month ago

Prepares ESP-HOSTED to be used with the onboard ESP32-C6 over SDIO

github-actions[bot] commented 1 month ago
Warnings
:warning: **Some issues found for the commit messages in this PR:** - the commit message `"fix(p4): Init SDIO host properly on Network boot"`: - body's lines must not be longer than 100 characters *** **Please fix these commit messages** - here are some basic tips: - follow [Conventional Commits style](https://www.conventionalcommits.org/en/v1.0.0/) - correct format of commit message should be: `(): `, for example `fix(esp32): Fixed startup timeout issue` - allowed types are: `change,ci,docs,feat,fix,refactor,remove,revert,test` - sufficiently descriptive message summary should be between 20 to 72 characters and start with upper case letter - avoid Jira references in commit messages (unavailable/irrelevant for our customers) `TIP:` Install pre-commit hooks and run this check when committing (uses the [Conventional Precommit Linter](https://github.com/espressif/conventional-precommit-linter)).
:warning: The **target branch** for this Pull Request **must be the default branch** of the project (`master`). If you would like to add this feature to a different branch, please state this in the PR description and we will consider it.

πŸ‘‹ Hello me-no-dev, we appreciate your contribution to 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 :no_entry_sign: dangerJS against 220de8e6b546476271083e4594433ba4ea9422c2

github-actions[bot] commented 1 month ago

Test Results

 56 files  Β±0   56 suites  Β±0   4m 14s :stopwatch: -1s  21 tests Β±0   21 :white_check_mark: Β±0  0 :zzz: Β±0  0 :x: Β±0  135 runsβ€Š Β±0  135 :white_check_mark: Β±0  0 :zzz: Β±0  0 :x: Β±0 

Results for commit 220de8e6. ± Comparison against base commit 3733c87c.

github-actions[bot] commented 1 month ago

Memory usage test (comparing PR against master branch)

The table below shows the summary of memory usage change (decrease - increase) in bytes and percentage for each target.

MemoryFLASH [bytes]FLASH [%]RAM [bytes]RAM [%]
TargetDECINCDECINCDECINCDECINC
ESP32P4000.000.00000.000.00
ESP32S30:bangbang: +19K0.00:bangbang: +2.740:bangbang: +3K0.00:bangbang: +8.45
ESP32S20:bangbang: +15K0.00:bangbang: +2.340:bangbang: +2K0.00:bangbang: +8.82
ESP32C30:bangbang: +22K0.00:bangbang: +3.330:bangbang: +2K0.00:bangbang: +10.49
ESP32C60:bangbang: +39K0.00:bangbang: +4.300:bangbang: +25K0.00:bangbang: +129.61
ESP32H20:bangbang: +11K0.00:bangbang: +2.120:bangbang: +22K0.00:bangbang: +127.92
ESP320:bangbang: +19K0.00:bangbang: +2.160:warning: +15200.00:bangbang: +3.19
Click to expand the detailed deltas report [usage change in BYTES]
TargetESP32P4ESP32S3ESP32S2ESP32C3ESP32C6ESP32H2ESP32
ExampleFLASHRAMFLASHRAMFLASHRAMFLASHRAMFLASHRAMFLASHRAMFLASHRAM
Ethernet/examples/ETH_W5500_Arduino_SPI--:bangbang: +15K:warning: +1940:bangbang: +12K:warning: +1668:bangbang: +17K:warning: +1744:bangbang: +19K:bangbang: +22K:bangbang: +11K:bangbang: +22K:bangbang: +8K:warning: +736
Ethernet/examples/ETH_W5500_IDF_SPI--:bangbang: +14K:warning: +1908:bangbang: +11K:warning: +1620:bangbang: +17K:warning: +1744:bangbang: +19K:bangbang: +22K:bangbang: +11K:bangbang: +22K:bangbang: +7K:warning: +672
PPP/examples/PPP_Basic--:bangbang: +13K:warning: +1956:bangbang: +7K:warning: +1644:bangbang: +12K:warning: +1748:bangbang: +16K:bangbang: +22K:bangbang: +8K:bangbang: +22K:bangbang: +7K:warning: +728
Ethernet/examples/ETH_WIFI_BRIDGE--:bangbang: +17K:bangbang: +2K:bangbang: +14K:bangbang: +2K:bangbang: +20K:bangbang: +2K:bangbang: +35K:bangbang: +4K--:bangbang: +14K:warning: +1352
NetworkClientSecure/examples/WiFiClientInsecure--:bangbang: +17K:bangbang: +2K:bangbang: +14K:bangbang: +2K:bangbang: +21K:warning: +1624:bangbang: +37K:bangbang: +24K--:bangbang: +18K:warning: +1352
NetworkClientSecure/examples/WiFiClientPSK--:bangbang: +17K:bangbang: +2K:bangbang: +14K:bangbang: +2K:bangbang: +21K:warning: +1624:bangbang: +37K:bangbang: +24K--:bangbang: +18K:warning: +1352
NetworkClientSecure/examples/WiFiClientSecure--:bangbang: +17K:bangbang: +2K:bangbang: +14K:bangbang: +2K:bangbang: +21K:warning: +1624:bangbang: +37K:bangbang: +24K--:bangbang: +18K:warning: +1352
NetworkClientSecure/examples/WiFiClientSecureEnterprise--:bangbang: +19K:bangbang: +2K:bangbang: +15K:bangbang: +2K:bangbang: +22K:warning: +1608:bangbang: +38K:bangbang: +24K--:bangbang: +18K:warning: +1336
NetworkClientSecure/examples/WiFiClientSecureProtocolUpgrade--:bangbang: +17K:bangbang: +2K:bangbang: +14K:bangbang: +2K:bangbang: +21K:warning: +1624:bangbang: +37K:bangbang: +24K--:bangbang: +18K:warning: +1352
NetworkClientSecure/examples/WiFiClientShowPeerCredentials--:bangbang: +17K:bangbang: +2K:bangbang: +14K:bangbang: +2K:bangbang: +20K:warning: +1600:bangbang: +36K:bangbang: +24K--:bangbang: +17K:warning: +1348
NetworkClientSecure/examples/WiFiClientTrustOnFirstUse--:bangbang: +17K:bangbang: +2K:bangbang: +14K:bangbang: +2K:bangbang: +21K:warning: +1632:bangbang: +37K:bangbang: +24K--:bangbang: +17K:warning: +1328
PPP/examples/PPP_WIFI_BRIDGE--:bangbang: +15K:bangbang: +3K:bangbang: +11K:bangbang: +2K:bangbang: +15K:bangbang: +2K:bangbang: +32K:bangbang: +3K--:bangbang: +13K:warning: +1352
WebServer/examples/AdvancedWebServer--:bangbang: +16K:bangbang: +3K:bangbang: +12K:bangbang: +2K:bangbang: +17K:bangbang: +2K:bangbang: +37K:bangbang: +24K--:bangbang: +14K:warning: +1352
WebServer/examples/FSBrowser--:bangbang: +14K:bangbang: +2K:bangbang: +11K:bangbang: +2K:bangbang: +14K:warning: +1624:bangbang: +32K:bangbang: +24K--:bangbang: +14K:warning: +1360
WebServer/examples/Filters--:bangbang: +16K:bangbang: +3K:bangbang: +12K:bangbang: +2K:bangbang: +17K:bangbang: +2K:bangbang: +37K:bangbang: +24K--:bangbang: +14K:warning: +1352
WebServer/examples/HelloServer--:bangbang: +16K:bangbang: +3K:bangbang: +12K:bangbang: +2K:bangbang: +17K:bangbang: +2K:bangbang: +37K:bangbang: +24K--:bangbang: +14K:warning: +1352
WebServer/examples/HttpAdvancedAuth--:bangbang: +16K:bangbang: +3K:bangbang: +12K:bangbang: +2K:bangbang: +16K:bangbang: +2K:bangbang: +36K:bangbang: +24K--:bangbang: +14K:warning: +1336
WebServer/examples/HttpAuthCallback--:bangbang: +16K:bangbang: +3K:bangbang: +12K:bangbang: +2K:bangbang: +16K:bangbang: +2K:bangbang: +36K:bangbang: +24K--:bangbang: +14K:warning: +1336
WebServer/examples/HttpAuthCallbackInline--:bangbang: +16K:bangbang: +3K:bangbang: +12K:bangbang: +2K:bangbang: +16K:bangbang: +2K:bangbang: +36K:bangbang: +24K--:bangbang: +14K:warning: +1336
WebServer/examples/HttpBasicAuth--:bangbang: +16K:bangbang: +3K:bangbang: +12K:bangbang: +2K:bangbang: +16K:bangbang: +2K:bangbang: +36K:bangbang: +24K--:bangbang: +14K:warning: +1336
WebServer/examples/HttpBasicAuthSHA1--:bangbang: +16K:bangbang: +3K:bangbang: +12K:bangbang: +2K:bangbang: +16K:bangbang: +2K:bangbang: +36K:bangbang: +24K--:bangbang: +14K:warning: +1336
WebServer/examples/HttpBasicAuthSHA1orBearerToken--:bangbang: +16K:bangbang: +3K:bangbang: +12K:bangbang: +2K:bangbang: +16K:bangbang: +2K:bangbang: +36K:bangbang: +24K--:bangbang: +14K:warning: +1344
WebServer/examples/MultiHomedServers--:bangbang: +16K:bangbang: +3K:bangbang: +12K:bangbang: +2K:bangbang: +17K:bangbang: +2K:bangbang: +37K:bangbang: +24K--:bangbang: +14K:warning: +1352
WebServer/examples/PathArgServer--:bangbang: +11K:bangbang: +3K:bangbang: +8K:bangbang: +2K:bangbang: +7K:warning: +1616:bangbang: +28K:bangbang: +24K--:bangbang: +11K:warning: +1520
WebServer/examples/SDWebServer--:bangbang: +14K:bangbang: +3K:bangbang: +10K:bangbang: +2K:bangbang: +16K:bangbang: +2K:bangbang: +36K:bangbang: +24K--:bangbang: +12K:warning: +1336
WebServer/examples/SimpleAuthentification--:bangbang: +15K:bangbang: +2K:bangbang: +12K:bangbang: +2K:bangbang: +15K:warning: +1624:bangbang: +35K:bangbang: +24K--:bangbang: +15K:warning: +1368
WebServer/examples/UploadHugeFile--:bangbang: +12K:bangbang: +3K:bangbang: +8K:bangbang: +2K:bangbang: +8K:bangbang: +2K:bangbang: +29K:bangbang: +25K--:bangbang: +10K:warning: +1504
WebServer/examples/WebServer--:bangbang: +14K:bangbang: +2K:bangbang: +11K:bangbang: +2K:bangbang: +14K:warning: +1616:bangbang: +35K:bangbang: +24K--:bangbang: +14K:warning: +1336
WebServer/examples/WebUpdate--:bangbang: +15K:bangbang: +3K:bangbang: +12K:bangbang: +2K:bangbang: +17K:bangbang: +2K:bangbang: +37K:bangbang: +24K--:bangbang: +14K:warning: +1336
WiFi/examples/FTM/FTM_Initiator--:bangbang: +15K:bangbang: +2K:bangbang: +11K:bangbang: +2K:bangbang: +17K:warning: +1624:bangbang: +33K:bangbang: +3K--:bangbang: +14K:warning: +1352
WiFi/examples/FTM/FTM_Responder--:bangbang: +14K:bangbang: +2K:bangbang: +11K:bangbang: +2K:bangbang: +17K:warning: +1624:bangbang: +33K:bangbang: +3K--:bangbang: +14K:warning: +1368
WiFi/examples/SimpleWiFiServer--:bangbang: +17K:bangbang: +3K:bangbang: +12K:bangbang: +2K:bangbang: +19K:bangbang: +2K:bangbang: +39K:bangbang: +24K--:bangbang: +15K:warning: +1352
WiFi/examples/WPS--:bangbang: +14K:bangbang: +2K:bangbang: +11K:bangbang: +2K:bangbang: +16K:warning: +1616:bangbang: +33K:bangbang: +3K--:bangbang: +14K:warning: +1368
WiFi/examples/WiFiAccessPoint--:bangbang: +17K:bangbang: +3K:bangbang: +12K:bangbang: +2K:bangbang: +19K:bangbang: +2K:bangbang: +39K:bangbang: +24K--:bangbang: +15K:warning: +1352
WiFi/examples/WiFiBlueToothSwitch--:bangbang: +15K:bangbang: +2K--:bangbang: +17K:warning: +1616:bangbang: +33K:bangbang: +3K--:bangbang: +14K:warning: +1332
WiFi/examples/WiFiClient--:bangbang: +15K:bangbang: +2K:bangbang: +12K:bangbang: +2K:bangbang: +17K:warning: +1624:bangbang: +37K:bangbang: +24K--:bangbang: +15K:warning: +1368
WiFi/examples/WiFiClientBasic--:bangbang: +15K:bangbang: +2K:bangbang: +12K:bangbang: +2K:bangbang: +17K:warning: +1624:bangbang: +37K:bangbang: +24K--:bangbang: +15K:warning: +1368
WiFi/examples/WiFiClientConnect--:bangbang: +14K:bangbang: +2K:bangbang: +11K:bangbang: +2K:bangbang: +16K:warning: +1632:bangbang: +33K:bangbang: +3K--:bangbang: +14K:warning: +1352
WiFi/examples/WiFiClientEnterprise--:bangbang: +18K:bangbang: +2K:bangbang: +15K:bangbang: +2K:bangbang: +22K:warning: +1608:bangbang: +38K:bangbang: +24K--:bangbang: +19K:warning: +1352
WiFi/examples/WiFiClientEvents--:bangbang: +15K:bangbang: +2K:bangbang: +12K:bangbang: +2K:bangbang: +16K:warning: +1624:bangbang: +33K:bangbang: +3K--:bangbang: +14K:warning: +1368
WiFi/examples/WiFiClientStaticIP--:bangbang: +15K:bangbang: +2K:bangbang: +12K:bangbang: +2K:bangbang: +17K:warning: +1624:bangbang: +37K:bangbang: +24K--:bangbang: +15K:warning: +1368
WiFi/examples/WiFiExtender--:bangbang: +15K:bangbang: +2K:bangbang: +12K:bangbang: +2K:bangbang: +17K:warning: +1624:bangbang: +33K:bangbang: +3K--:bangbang: +14K:warning: +1368
WiFi/examples/WiFiIPv6--:bangbang: +15K:bangbang: +2K:bangbang: +12K:bangbang: +2K:bangbang: +17K:warning: +1632:bangbang: +37K:bangbang: +24K--:bangbang: +15K:warning: +1368
WiFi/examples/WiFiMulti--:bangbang: +14K:bangbang: +2K:bangbang: +11K:bangbang: +2K:bangbang: +16K:warning: +1624:bangbang: +33K:bangbang: +3K--:bangbang: +14K:warning: +1368
WiFi/examples/WiFiMultiAdvanced--:bangbang: +17K:bangbang: +2K:bangbang: +14K:bangbang: +2K:bangbang: +20K:warning: +1608:bangbang: +36K:bangbang: +24K--:bangbang: +17K:warning: +1324
WiFi/examples/WiFiScan--:bangbang: +14K:bangbang: +2K:bangbang: +11K:bangbang: +2K:bangbang: +17K:warning: +1624:bangbang: +33K:bangbang: +3K--:bangbang: +14K:warning: +1368
WiFi/examples/WiFiScanAsync--:bangbang: +15K:bangbang: +2K:bangbang: +11K:bangbang: +2K:bangbang: +17K:warning: +1624:bangbang: +33K:bangbang: +3K--:bangbang: +14K:warning: +1368
WiFi/examples/WiFiScanDualAntenna--:bangbang: +15K:bangbang: +2K:bangbang: +13K:bangbang: +2K:bangbang: +17K:warning: +1624:bangbang: +35K:bangbang: +3K--:bangbang: +15K:warning: +1376
WiFi/examples/WiFiScanTime--:bangbang: +14K:bangbang: +2K:bangbang: +11K:bangbang: +2K:bangbang: +17K:warning: +1624:bangbang: +33K:bangbang: +3K--:bangbang: +14K:warning: +1368
WiFi/examples/WiFiSmartConfig--:bangbang: +14K:bangbang: +2K:bangbang: +11K:bangbang: +2K:bangbang: +16K:warning: +1624:bangbang: +33K:bangbang: +3K--:bangbang: +14K:warning: +1352
WiFi/examples/WiFiTelnetToSerial--:bangbang: +15K:bangbang: +2K:bangbang: +12K:bangbang: +2K:bangbang: +17K:warning: +1608:bangbang: +37K:bangbang: +24K--:bangbang: +15K:warning: +1336
WiFi/examples/WiFiUDPClient--:bangbang: +15K:bangbang: +2K:bangbang: +12K:bangbang: +2K:bangbang: +17K:warning: +1632:bangbang: +37K:bangbang: +24K--:bangbang: +15K:warning: +1352
Ethernet/examples/ETH_LAN8720------------:bangbang: +11K:warning: +800
Ethernet/examples/ETH_TLK110------------:bangbang: +11K:warning: +800