collin80 / ESP32RET

CAN Reverse engineering tool for ESP32 based boards (specifically EVTV ESP32Due)
MIT License
178 stars 52 forks source link

Compilaton errors #14

Open Kabron287 opened 1 year ago

Kabron287 commented 1 year ago

wifi_manager.cpp: 36:32: error: 'union system_event_info_t' has no member named 'wifi_sta_disconnected

wifi_manager.cpp: 45:12: error: 'ARDUINO_EVENT_WIFI_STA_DISCONNECTED' was not declared in this scope

What could be done. Please, do not suggest to use binary from savvycan.com. I have different can pins and could not change them in HW.

collin80 commented 1 year ago

You have a different version of the arduino_esp32 core files than it is built for. That's why you're getting the error. I think the code is updated to work with the latest ESP32 core files so try getting the latest version.

Kabron287 commented 1 year ago

My errors eliminated by using info.disconnected.reason and SYSTEM_EVENT_STA_DISCONNECTED instead

I use the latest 1.0.6 ESP32 core version.