Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Ethernet support for ESP32 #2361

Merged
merged 13 commits into from
Sep 3, 2021
Merged

Conversation

mikee47
Copy link
Contributor

@mikee47 mikee47 commented Aug 31, 2021

This PR aims to provide generic Ethernet support for Sming.

Initially this is for the ESP32 using its embedded MAC.

Note that Sming ESP32 requires a patched version of ESP IDF version 4.3. See #2358.

TODO:

  • Test on read hardware (currently awaiting some PHY boards for this)
    * [ ] Implement SPI-based ethernet devices as supported by ESP32 Requires proper SPI support. Leave until HardwareSPI has been updated (NB. Separate future PR to include W5500 support for all devices.)

@slaff slaff added this to the 4.4.0 milestone Sep 2, 2021
@mikee47 mikee47 changed the title [WIP] Ethernet support Ethernet support Sep 2, 2021
Don't bother passing MAC to event callback, it's easy to query
Disable PHY reset pin by default
Implement `EmbeddedEthernet::end()`
Add IP methods
Changing SDK config should cause rebuild
Only look in root output directory for component library.
Be explicit with other library paths (e.g. mbedtls)
@mikee47
Copy link
Contributor Author

mikee47 commented Sep 3, 2021

Tested on hardware, ready for review.

@mikee47 mikee47 changed the title Ethernet support Add Ethernet support for ESP32 Sep 3, 2021
@slaff slaff merged commit 5a95a91 into SmingHub:develop Sep 3, 2021
@mikee47 mikee47 deleted the feature/ethernet branch September 3, 2021 16:05
@slaff slaff mentioned this pull request Sep 15, 2021
5 tasks
slaff pushed a commit that referenced this pull request Sep 27, 2021
This PR aims to provide generic Ethernet support for Sming.

Initially this is for the ESP32 using its embedded MAC.

Note that Sming ESP32 requires a patched version of ESP IDF version 4.3. See #2358.
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