chrisjoyce911 / esp32FOTA

Experiments in firmware OTA updates for ESP32 dev boards
The Unlicense
358 stars 86 forks source link

Version 0.2.4 does not compile in Arduino IDE 2.01 for ESP32 #113

Closed buttim closed 1 year ago

buttim commented 1 year ago
tobozo commented 1 year ago

Just tried with Arduino IDE 2.0.3 and got no such error, even when setting the compiler warnings to "All".

buttim commented 1 year ago

Updated my IDE to 2.0.3 and the error is still present. If I modify line 506 introducing a cast to int for the variable updateSize the error disappears. The modified line reads as follows: Serial.println("Written only : " + String(written) + "/" + String((int)updateSize) + ". Premature end of stream?");

buttim commented 1 year ago

Forgot to mention I'm using a Windows machine. I don't know if that might be relevant or not

tobozo commented 1 year ago

thanks for these precisions, I've pushed a fix and will produce a release soon

buttim commented 1 year ago

Thank you so much!

tobozo commented 1 year ago

well thanks to you for pointing that out :+1:

tobozo commented 1 year ago

fixed in 0.2.6, will propagate soon in the Arduino Library Manager