Add support for wESP32-PoE board

This commit is contained in:
Peter Wahlberg
2024-09-27 17:01:30 +02:00
parent cf773985b1
commit 4f47ffa21e
7 changed files with 600 additions and 451 deletions

View File

@@ -60,6 +60,14 @@ bool EthernetConnectionHandler::connect(NetworkConfig config, SystemConfig sys)
ethPowerPin = 16;
ethMdc = 23;
ethMdio = 18;
} else if (sys.boardType == 245) { // wESP32
ethType = ETH_PHY_RTL8201;
ethEnablePin = -1;
ethAddr = 0;
ethClkMode = ETH_CLOCK_GPIO0_IN;
ethPowerPin = -1;
ethMdc = 16;
ethMdio = 17;
} else if(sys.boardType == 244) {
return false; // TODO
} else {