Where is the component (folder) ethernet ?

GISED_Link
Posts: 1
Joined: Wed Jul 03, 2019 6:59 am

Where is the component (folder) ethernet ?

Postby GISED_Link » Wed Jul 03, 2019 7:19 am

Hi,

We are working with LAN8710. We have our driver that work currently with those files :

${IDF_PATH}/component/ethernet/* //all the files from this component / folder
${IDF_PATH}/component/ethernet/eth_phy/phy_reg.h // in fact we include only this file

But the recent changes over the master branch have remove the /component/ethernet folder. Is there some documentation about how we need to port the driver with the new ethernet interface ? By new I mean the /component/esp_eth ?

Thank you
Last edited by GISED_Link on Wed Jul 03, 2019 12:23 pm, edited 1 time in total.

ESP_morris
Posts: 290
Joined: Wed Sep 05, 2018 6:23 am

Re: Where is the component (folder) ethernet ?

Postby ESP_morris » Wed Jul 03, 2019 8:14 am

Sorry for any inconvenience, yes, we've refactored the ethernet driver in 4.0, which also breaks original APIs.

The main reason is that, IDF will support more kind of Ethenret (e.g. SPI Ethernet module), the original one is not flexible enough to support this work.

We don't have much documentation about port from 3.x API to 4.0, but do have a lot of examples under examples/ethernet/, illustrating how to use the new API.

If you compare the difference between the process of installing ethernet driver, you will find the new API has been simplified a lot.

Who is online

Users browsing this forum: forrest and 152 guests