ethernet #30
-
I just wish to confirm that ethernet.h library i cannot get to work with the esp32, crashes your code in a non stop bootloop. same goes for there example code they ship. The ethernet library ETH.H that espressif ships works perfectly with your code. |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments
-
this is working code using your library. #include <SPI.h> #define ETH_PHY_TYPE ETH_PHY_W5500 // SPI pins define CONFIG_SNAPCAST_BUFF_LEN 2048NetworkClient ethernet; static bool eth_connected = false; void connectEthernet() { // Serial.println("Starting ETHERNET connection..."); // wait for link
} void setup() {
// client.begin(synch); void loop() { |
Beta Was this translation helpful? Give feedback.
-
sorry about the formatting # define CONFIG_SNAPCAST_BUFF_LEN 2048 |
Beta Was this translation helpful? Give feedback.
-
Here are the instructions for pasting code: I am converting this to a discussion since this is not a bug in my code but rather an issue with your installed version or your specific board. What ESP32 Arduino core version are you using ? |
Beta Was this translation helpful? Give feedback.
-
Espressif 3.02 |
Beta Was this translation helpful? Give feedback.
-
im using this board, https://github.com/witnessmenow/ESP32-Cheap-Yellow-Display iv removed the dac ic and have put a header in its place so i can interface with external i2s device. and i am using its sdcard interface for ethernet |
Beta Was this translation helpful? Give feedback.
Here are the instructions for pasting code:
https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/creating-and-highlighting-code-blocks
I am converting this to a discussion since this is not a bug in my code but rather an issue with your installed version or your specific board.
What ESP32 Arduino core version are you using ?