-
So since I updated to arduino core 2.0 ethernet firebase stopped working. I mean these events: I had to change case SYSTEM_EVENT_ETH_START: to ARDUINO_EVENT_ETH_START.... etc and the rest of events. Serial log: |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 11 replies
-
Thanks for reporting this. The breaking changes in ESP32 core WiFi class. The ethernet examples updated already. |
Beta Was this translation helpful? Give feedback.
-
The error when you compile the library with esp32 core v2.0.1-RC1 is about this workaround code that used to fix the serious memory leaks issue in core WiFiClientSecure class, which this issues have been report by me and others at esp32 repo espressif/arduino-esp32#5480 Which start_ssl_client defined here in v2.0.1-RC1 If I remove the workaround, the library can compile in core v2.0.1-RC1 unless the bugs in core WiFiClientSecure class can make your device crashed due to out of memory. There is no macro to check the Arduino core version at compile time unless the ESP-IDF version which is the same v4.4.0 for ESP32 core v2.0.0 and v2.0.1-RC1. |
Beta Was this translation helpful? Give feedback.
-
Thank you for your support. |
Beta Was this translation helpful? Give feedback.
The error when you compile the library with esp32 core v2.0.1-RC1 is about this workaround code
Firebase-ESP-Client/src/wcs/esp32/FB_TCP_Client.h
Line 91 in 142dd22
that used to fix the serious memory leaks issue in core WiFiClientSecure class, which this issues have been report by me and others at esp32 repo
espressif/arduino-esp32#5480
espressif/arduino-esp32#5781
espressif/arduino-esp32#5826
Which start_ssl_client defined here in v2.0.1-RC1
https://github.com/espressif/arduino-esp32/blob/caa8d07aafa04441bb85e6046a795249c01d9e39/libraries/WiFiClientSecure/src/s…