Closed dec8tt8 closed 1 year ago
Watchy lib 1.4.3 Esp32 lib 2.0.5 Tried on Fedora 37 and Windows 10; laptop and desktop; Arduino ide 1.8.19 and 2.0.2.
Tools > Board > Watchy Tools > Partition Scheme > Huge APP Tools > Board revision > 2.0 Tools > Upload speed > 115200
It has something to do with weather fetch. Output:
/home/as/Arduino/libraries/Watchy/src/Watchy.cpp: In member function 'weatherData Watchy::getWeatherData(String, String, String, String, String, uint8_t)': /home/as/Arduino/libraries/Watchy/src/Watchy.cpp:620:48: error: ambiguous overload for 'operator=' (operand types are 'String' and 'JSONVar') responseObject["weather"][0]["main"]; ^ In file included from /home/as/.arduino15/packages/esp32/hardware/esp32/2.0.5/cores/esp32/Arduino.h:166, from /home/as/Arduino/libraries/Watchy/src/Watchy.h:4, from /home/as/Arduino/libraries/Watchy/src/Watchy.cpp:1: /home/as/.arduino15/packages/esp32/hardware/esp32/2.0.5/cores/esp32/WString.h:102:18: note: candidate: 'String& String::operator=(const String&)' String & operator =(const String &rhs); ^~~~~~~~ /home/as/.arduino15/packages/esp32/hardware/esp32/2.0.5/cores/esp32/WString.h:103:18: note: candidate: 'String& String::operator=(const char*)' String & operator =(const char *cstr); ^~~~~~~~ exit status 1 Compilation error: exit status 1
[Solved]
Editing Watchy.cpp according to this merge request (#193), now it compiles and uploads.
I'll monitor the watch for a couple of days.
This should be fixed in v1.4.5, thanks!
Watchy lib 1.4.3 Esp32 lib 2.0.5 Tried on Fedora 37 and Windows 10; laptop and desktop; Arduino ide 1.8.19 and 2.0.2.
Tools > Board > Watchy Tools > Partition Scheme > Huge APP Tools > Board revision > 2.0 Tools > Upload speed > 115200
It has something to do with weather fetch. Output: