ESP32 POE ISO on Platformio HOWTO

Started by io, February 21, 2022, 03:45:29 PM

Previous topic - Next topic

io

Hallo just a quick reminder that as mentioned in https://www.olimex.com/Products/IoT/ESP32/_resources/Arudino-ESP32.txt you have to use the development branch of ESP32, instruction are only for Arduino IDE. In Platformio you have to use:

[env:esp32-poe-iso]
platform = https://github.com/platformio/platform-espressif32.git#develop

then the basic Ethernet example will work. Maybe this should be added in the documentation.

io

I got this wrong, to rectify :

https://github.com/platformio/platform-espressif32.git#develop points already to the default repo so you do not need to specify it

I was using the https://github.com/platformio/platform-espressif32.git#feature/arduino-upstream repo and that is not working with the Eth.h library. From the information I gathered this repo is using Esp32 2.x version, while the default uses 1.x (I guess it is 1.0.6).

So far so good except that I need to use ESP32 2.0 for another library I need to use only is supported on 2.0.

So is there any plan to update the example to 2.0 ?

tx

LubOlimex

> So is there any plan to update the example to 2.0 ?

Which example exactly? Can you give me a link to the example you want us to update?
Technical support and documentation manager at Olimex

io

Hallo, sorry if I haven't got proper debugging info but I had a simple http request sketch such as https://pastebin.com/7zsiuvaq, and even UDP with WiFiUdp.h working with ESP32 2.0.0, then it stopped working, here I cannot provide steps to reproduce when it stopped to work, from what I reckon the sketch is basically the same.

You can try with https://pastebin.com/7zsiuvaq, it does work with ESP32 1.0.6 but fails to initiate ethernet with ESP32 2.0.0

tx

io

Adding a delay between Eth.begin() and Eth.config() seems to get the ethernet started