]> granicus.if.org Git - esp-idf/commit
ethernet: fix some bugs in phy&mac driver
authormorris <maoshengrong@espressif.com>
Mon, 15 Oct 2018 12:35:05 +0000 (20:35 +0800)
committermorris <maoshengrong@espressif.com>
Tue, 6 Nov 2018 03:07:22 +0000 (11:07 +0800)
commitb6d7675e60626bc890ea68c80084906afaccb5f4
treec86420e3d0284b6369df7c1834274d674ea1dab8
parent364f033a49663fdf1c000ea04c0a17588dcd0316
ethernet: fix some bugs in phy&mac driver

1. Original register mapping for LAN8720 has some registers that doesn't exist/support.
So just remove them, and fix the power and init function for LAN8720.
2. GPIO16 and GPIO17 is occupied by PSRAM, so only ETH_CLOCK_GPIO_IN mode is supported in that case if using PSRAM.
3. Fix bug of OTA failing with Ethernet
4. Fix bug of multicast with Ethernet

Closes https://github.com/espressif/esp-idf/issues/2564
Closes https://github.com/espressif/esp-idf/issues/2620
Closes https://github.com/espressif/esp-idf/issues/2657
components/esp32/include/esp_spiram.h
components/esp32/spiram.c
components/ethernet/emac_dev.c
components/ethernet/emac_main.c
components/ethernet/eth_phy/phy_lan8720.c
components/ethernet/include/esp_eth.h
components/ethernet/include/eth_phy/phy_reg.h