-
Notifications
You must be signed in to change notification settings - Fork 7.7k
Description
i used arduino-esp32 with esp-idf, for use library u8g2 with lcd ssd1306, follow
https://docs.espressif.com/projects/arduino-esp32/en/latest/esp-idf_component.html
but when idf.py build. have problem, i cheked, var "esp_eth_phy_new_ksz8081" link with path lib "C:\esp\esp-idf\components\esp_eth\include\esp_eth.h" so don't have var esp_eth_phy_new_ksz8081. This var should link with "path/project/components\arduino\tools\sdk\esp32\include\esp_eth\include\esp_eth.h", right?
i use esp-idf 4.3, can someone help you? sorry about my english
../components/arduino/libraries/WiFi/src/ETH.cpp:291:23: error: 'esp_eth_phy_new_ksz8081' was not declared in this scope
eth_phy = esp_eth_phy_new_ksz8081(&phy_config);
^~~~~~~~~~~~~~~~~~~~~~~
../components/arduino/libraries/WiFi/src/ETH.cpp:291:23: note: suggested alternative: 'esp_eth_phy_new_ksz8041'
eth_phy = esp_eth_phy_new_ksz8081(&phy_config);