-
Notifications
You must be signed in to change notification settings - Fork 7.4k
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
3.0.0 version Migration related issues #8796
Comments
I think this is also related: #8774 |
The OneWire lib does not compile anymore, because
Real fix is:
|
Probably needs particular include. Some have changed in IDF5 |
I have difficulty porting the following code to IDF5. Please look at the line below FIXME! HELP NEEDED!.
Snippet:
Are |
One VERY peculiar thing I just witnessed: Calling
When the tight loop, |
@everslick I am rewriting/restructuring the whole network stack in order to decouple WiFi from the rest of the network functions. Many things have changed and will be fixed/rewritten to work. Some APIs will change/get deprecated, but it's for the better. |
Yes, I've seen the issue for it. I'm very much looking forward to it! While we are at it. One of the things I do not really like about the Arduino API is the omnipresent instantiation of singleton like APIs. We have NO_GLOBAL_INSTANCES for that, but this is not always implemented for all interfaces. In case of |
WiFi would be able to not be global, but beware a new |
@me-no-dev Are you going to implement IPv6 with the rework of the network / wifi part? |
@Jason2866 IPv6 is planned for 3.0.0/1 it's coming for sure :) |
Not sure if this belongs here, w5500+ETH using latest git version, installed manually on windows 11. Running Example ETH_W5500_Arduino_SPI. I have two boards, very possible they have two different versions of W5500. One works fine, but one gives the following very randomly.
If I repower the board, Sometimes it starts working. Other times, it may give a different set of error messages, like this one.
And when it works, it connects and works fine, goes like this.
And the rest of the contents are printed from /asciilogo.txt. I use wificlientsecure to do https. Does espressif/esp-idf#11331 has any bearing on this? |
@kapyaar how is the W5500 to the ESP32? Is it custom board or is it connected via wires? It seems to me like some SPI connection issue. You can also try to decrease SPI CLK frequency to see if it helps. |
@kostaond @me-no-dev Board is good, it is an assembled pcb, but the issue is totally on our side. This ETH section is part of a larger board, and the new version had a few additional SPI chips, CS of one of those chips was floating, likely responding to requests meant for W5500. Took me a while to think outside my section of the board, Fixed that part, and the ETH part works consistently. Really sorry. I have an ETH question, but unrelated to this. To keep this thread clean, let me know if you want me to delete my post and comment, I will be happy to do that. |
@kapyaar You can have a look at the schematics provided by Olimex to get inspiration on how to implement the power nets when using Ethernet. |
Found another issue, where the DHCP service doesn't seem to work when starting softAP. |
|
Hello in latest git / 3.0.0 alpha I cannot find the API equivalent API of
to get IP of connected clients It seems now a component in IDF : But cannot find it in latest arduino-esp32 git Will this API be ported / available in esp32-arduino for final 3.0.0 ? |
@luc-github no. IDF 5.x has many changes since 4.x. There should be something else that would work the same way though |
The old Arduino library has available the "tcpip_adapter_get_sta_list", so there is now no available replacement in the new Arduino API. Or is there any way how to get MAC address of a connected client in the Arduino API 3.0.0 or another way to detect if the client was already connected or it is a new one? Example:
|
you could also listen to the events and get all your needed info from there |
Hello everyone, as 3.0.0-stable version was released I will close this ticket for tracking migration issues. It contains already 189 comments and it will be hard to go through and find here relevant information. Closed issue will be pinned at the top of issue tracker for reference for some time. If you do face any problems with 3.0.0 version, please open a new ticket, it is easier for us to track it and also to replicate those problems as we receive more information if you fill issue report template. Thanks for understanding and also your contribution in this ticket! |
gpio_deep_sleep_hold_en(),gpio_hold_en(),he substitution of these two functions. |
Hi everyone, String inputString = ""; // a String to hold incoming data // constructor with default pin wiring /*void nhandulieu() void xulydulieu(String inputString) { if (Timy >= 0 && Timw >= 0) {
} else if (Timy >= 0 && Timh >= 0) {
}
} //---------------------------------------------------/// void Songuoi(int Number2) { matrix.setCursor(22, 23); void hienthi1() { matrix.setCursor(47, 8); matrix.setCursor(5, 23); void setup() { Serial2.begin(115200); matrix.drawRect(0, 0, matrix.width(), matrix.height(), matrix.color444(0, 15, 0)); } void loop() { |
This is error : exit status 1 Compilation error: exit status 1 |
@tuanvu251191 the library needs to be updated to support v3. It is using the old Timer API |
Thank you very much, |
I don't use Timer API. I just intalled the library P3RGBMatrixPanel to use. |
Core 3.0 completely ruined the excellent NeoPixelBus library. |
@sblantipodi We have made some of the required changes in Tasmota to still use NeoPixelBus library with Core3. |
Changes were driven by the changes in ESP-IDF API. We could not keep the old API anymore and the new one makes more sense anyway. |
@sblantipodi No one forces you to use espressif32 Arduino core 3.0.x. |
@s-hadinger did you created a pull request to the original branch for this? |
@sblantipodi No PR, since we use a older version which is not compatible to the actual upstream version. We don't plan to use the newer upstream version in Tasmota since the changes done there are not needed in project Tasmota. Feel free to port the changes to the actual version and provide a PR. |
If someone made changes to a cloned NeoPixelBus to support v3, why are these changes not being merged back to NeoPixelBus? |
@Jason2866 You don't even informed the author of NeoPixelBus about this, and that should be the least in my opinion. Nothing personal, I have a lot of respect for the Tasmota project and for Jason8266 but I just wanted to share my two cents on this. |
This is vastly inaccurate. We are contributing back to many upstream projects like Arduino, LVGL, Berry, IRRemoteESP8266... What is true though, is that for the sake of speed, we often apply the changes into our fork first, and send changes upstream later. This is especially true when this is blocking Tasmota from supporting new versions or new chips. NeoPixelBus is an exception for the reasons exposed by Jason. We use a tiny portion of NeoPixelBus and don't plan to catch up with versions. We also got feedback from the maintainers of NeoPixelBus that support for Core3 was not a priority for them. I was just sharing that we have updated code, but not the resources to backport the changes to the latest version. Feel free to do the backport yourself. |
@sblantipodi As said the changes made are not compatible to the current version. The implementation needs an old version of NeopixelBus. Sorry we don't have the resources to do the changes needed for the actual version.
Wow! I think you wrote this having a bad day. You should better look where the few people of Tasmota made PRs. Aren't you using my fork of WebFlasher? Are you using Platformio? Well many PRs here and in Platformio repo are from me. |
doesn't this confirm what I said previously?
that's why I made a disclaimer, Tasmota is well known to be very active and useful in this ecosystem, never said the opposite, but sometimes you can improve on this. Like sharing your work with the author of other libs you use for example. Jason I'm in no position to teach you anything, if that's okay with you, that's fine. |
You make assumptions. If you would do more PRs to OpenSource projects you would know some PRs do not fit in upstream (for whatever reasons). |
Hello,
purpose of this issue is to cover problems related to migration from 2.X (at the moment of writing the latest version is 2.0.14) to 3.X version.
💥 If you have any problems, please add comment to this issue. 💥
3.0.0 version introduces breaking changes in those APIs:
🎉 For more details plese take a look on MIGRATION GUIDE FROM 2.X TO 3.X. 🎉
List of all related issues: (will be updated)
Please take a look on those issue before adding comment to this ticket.
gpio_intr_enable
andgpio_intr_disable
#8737The text was updated successfully, but these errors were encountered: