-
Notifications
You must be signed in to change notification settings - Fork 115
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ESP32_PoE_Ethernet_IDFv4.0 Does not Build with v4.0 #8
Comments
I'm getting the same error |
Looks like most of the errors come from the stdatomic thing. Why is your sdkconfig so very different from what we have here: https://github.com/OLIMEX/ESP32-POE/blob/master/SOFTWARE/ESP-IDF/ESP32_PoE_Ethernet_IDFv4.0/sdkconfig ? Edit: How do you build the project? Do you use "make"? Can you try with "idf.py"? |
I am also having this same error when trying to update from v3.3(LTS) to 4.0 rc or 3.3.1. was this ever resolved? |
Same thing, also while upgrading from 3.3 |
There is an update of the example with the stable ESP-IDF v4.0. Because last example was made with "older" 4.0 and that created the whole problem. There were few different versions all labeled as 4.0 but different between each other. Try it and send your feedback if there are still issues. |
Here is a 4.0.0 example which works for me: |
@bluelu can you upload the whole project (not only the main.c file)? |
Here is the sdkconfig. I overwrote though some definitions directly in the c file. #define CONFIG_EXAMPLE_ETH_PHY_RST_GPIO -1 |
Unfortunately I still can't compile the code with the files you linked when I overwrite the ones from our project. I get this error:
Can you upload somewhere a zip (or any other format) of the whole project? Check the structure of the project in the code section. |
Hi, You should be able to build a working project from the .c file I pasted. Your code fails because of a wrongly configured flash size, not related to any network code. EDIT: Sorry, I built the project with platformIo, that's why I did not run menuconfig |
In the link @bluelu pasted ( https://pastebin.com/SVyccrAq ), this is improper: CONFIG_ESPTOOLPY_FLASHSIZE="2MB" |
I did some more tests using esphome, scanning ble devices and sending them over mqtt (> 10 messages per second). The board will run fine for a few seconds, then eventually the link will go down once and come up again. Then after a while the link will go down but not go up anymore (e.g. just for less than < 1 second). There is not much in the logs, except that the ethernet got disconnected. I made sure to not trigger any more mqtt sends, when the link is down, but it did not help. Has anybody run this board stable with a "lot" of mqtt traffic? [17:44:20][I][mqtt:162]: Connecting to MQTT... |
Hi, In case anyone has the same problem: The issue was related to an incompability to the POE switch I was using (netgear f108p). It works now when I force the ethernet controller not to advertise 100Mbit and fix it to 10Mbit. |
I need to add below patch to make things work again against main.
|
Firstly I start:
However, your example code does not build here is my sdkconfig file:
sdkconfig
Error
Heres the error for your code:
Whats going on?
The text was updated successfully, but these errors were encountered: