Replies: 5 comments
-
Hi Rick. This repository is based on IDF. The change will have to be be merged at the IDF level, and then this repository will have to expose the new option. https://github.com/espressif/esp-idf/tree/master/components/esp_eth/src This repository is currently on IDF branch 4.4, but will be moving to branch 5.1 soon. Check with IDF team to see which branch you should PR against. |
Beta Was this translation helpful? Give feedback.
-
@whcir911 You can use Tasmota Arduino fork, which has support for PHY JL1101. |
Beta Was this translation helpful? Give feedback.
-
I had success by copying the driver from ESPHome project (just removing the outermost #ifdef) into ESP-IDF source tree. (Patch attached.) In my case my interest was to make a DTWonder LAN port work on MicroPython (patch for mpy also attached, FWIW). The pins configuration was also found in an ESPHome config file. Translated to mpy:
|
Beta Was this translation helpful? Give feedback.
-
The ESPHome driver is an old driver. Wouldn't use with IDF 5.1. Actual driver espressif/esp-idf#13572 |
Beta Was this translation helpful? Give feedback.
-
Looks like your driver uses esp_eth_phy_802_3_autonego_ctrl() which appeared in ESP-IDF 5.1.4 and I have to stick with 5.1.2 since MicroPython is compatible with it. Will try again in the future again when mpy accepts a newer version of ESP-IDF. |
Beta Was this translation helpful? Give feedback.
-
How can i get the PHY JL1101 driver added to the ESP32arduino core? The maker of the board i have has provided a driver at this link
"https://github.com/dtlzp/relay_dev_demo/blob/main/esp-idf-dt-patch/components/esp_eth/src/esp_eth_phy_jl1101.c". I'm not sure if this is the correct place to ask this question?
Thanks,
Rick
Beta Was this translation helpful? Give feedback.
All reactions