-
-
Notifications
You must be signed in to change notification settings - Fork 117
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
Feature request: button to turn off Ethernet in E32 #1167
Comments
when EMS-ESP starts up it will always load the Eth library and tries to connect (costing RAM) to see if the ethernet is connected, so plug&play with an E32 works first time. But with this addition, it'll save memory so a good thing to implement. |
We disable Wifi by leaving ssid blank, why not use the same logic?
I think most users will not recognize an extra checkbox and leave it on default. |
that will work, and prevent the costly ETH.begin() from being called in |
Hmm, the ETH.begin in WebSettings is only called if load_board_profile failed: once on the first start. Then the board profile is set to E32 or S32 and this fallback is never executed again (only after factory reset). With board profile set the ETH.begin is only called in system::network_init., where the above ssid check prevents it. |
That will work as well indeed. |
this is in dev12 |
The E32 and some other boards use a GPIO pin (16 for E32) to turn on (the oscillator of) the Ethernet chip.
Lot's of E32 owners use only WiFi, so in those cases it can be beneficial to turn off Ethernet to save some of the precious RAM.
Currently you can turn it off by selecting a custom board profile and deselect the Ethernet NIC.
An on/off or checkmark button would be more convenient here.
The text was updated successfully, but these errors were encountered: