-
Notifications
You must be signed in to change notification settings - Fork 7.6k
Issue with lwip_hook_ip6_input in Arduino IDE 2.3.2 #10084
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
Issue with lwip_hook_ip6_input in Arduino IDE 2.3.2 #10084
Comments
please provide minimal sketch to reproduce. This is not expected |
I am unsure which part of the code is causing this issue. Due to the company's NDA policy, I cannot share any code. For reference, I can mention that the library was written for ESP-IDF v5.2.2. I used the same header files when making the library compatible with the Arduino IDE. |
@kunal-nezai How should anyone help, without a piece of an example! code? |
@kunal-nezai you are using some IDF code in the place of Arduino code. Maybe custom WiFi handling or something of the sort to get this message. You can copy the function from here to your codebase and get to compile. |
@me-no-dev Hello! Today, while working, I noticed that the older version of Arduino IDE (1.8.19) uses version 3.0.2 of the ESP32 board, whereas the new Arduino IDE (2.3.2) uses version 3.0.3 of the ESP32 board. To test my suspicion, I installed version 3.0.2 of the ESP32 board in the new Arduino IDE, and it is now functioning properly. I suspect there is something in version 3.0.3 that is causing the issue. |
@kunal-nezai it's the fact that you do not use Arduino fully, but instead manage WiFi through the IDF API only. If your network stack was using Arduino's APIs, this would not have happened. Adding the code above will make it work for the future, Else you will be stuck on 3.0.2 |
I have the same issue. Here is a test case
Using
The same code compiles fine on a non-Arduino 3 SDK. Interestingly this code compiles fine with platformio |
I doubt that. Probably not using the same Arduino core code base and libs. |
I'm running it right now |
As said not using same code base. This
|
For my future self this might be a fix |
@i-am-shodan do it together with the |
Thanks @i-am-shodan, I added your #if code to my project, I use this core version:
And it compiles, not tried to use it yet but I expect that it will be fine. |
@i-am-shodan thanks for this work around. is there an integrated fix on the horizon? |
@me-no-dev any updates on this? I've reproduced this on v3.1.1 which can be seen in this run: https://github.com/bakerstu/openmrn/actions/runs/12976415979/job/36188645918 |
@atanisoft fix coming in 3.2.0-RC2: espressif/esp32-arduino-lib-builder#286 |
Board
ESP32 Dev Module
Device Description
NA
Hardware Configuration
NA
Version
latest master (checkout manually)
IDE Name
Arduino IDE
Operating System
Windows 11
Flash frequency
80MHz
PSRAM enabled
no
Upload speed
921600
Description
Description of Issue
When using Arduino IDE 1.8.19, the code compiles and functions as expected. However, when using Arduino IDE 2.3.2, I encounter the following error:
Sketch
Debug Message
Other Steps to Reproduce
NA
I have checked existing issues, online documentation and the Troubleshooting Guide
The text was updated successfully, but these errors were encountered: