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

WIP: Ethernet Support #1316

Merged
merged 8 commits into from
Nov 13, 2020
Merged

WIP: Ethernet Support #1316

merged 8 commits into from
Nov 13, 2020

Conversation

tbnobody
Copy link
Contributor

@tbnobody tbnobody commented Nov 4, 2020

As discussed here #1027 this PR is adding support for the ethernet interface. It's maybe not yet 100% tested but ethernet is working and it still works with ESP8266 and ESP32 without ETH.

Copy link
Contributor Author

@tbnobody tbnobody left a comment

Choose a reason for hiding this comment

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

You are right, makes absolutly sense. I think otherwise e.g. the ETH.begin() would make some strange things without the ethernet hardware

@Aircoookie
Copy link
Member

Actually I believe ETH.begin() would be fine. The WiFiEvent would just never be called.
However, I observed that the ethernet stack seems to use ~43kB of extra heap memory.
Even though we have lots of heap on ESP32, compiling it in on non-ethernet boards doesn't really serve any purpose.

In my testing this seems to work very well, thank you! Will merge tomorrow if no further issues are reported :)

@Aircoookie Aircoookie mentioned this pull request Nov 12, 2020
@Aircoookie Aircoookie merged commit c365fd9 into wled:master Nov 13, 2020
peacepenguin added a commit to peacepenguin/WLED that referenced this pull request Nov 13, 2020
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