arduino-libraries / ArduinoIoTCloud

https://app.arduino.cc
Other
111 stars 78 forks source link

OTA: handle fwrite error #475

Closed pennam closed 4 months ago

codecov[bot] commented 5 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 95.26%. Comparing base (dd4c09d) to head (45b1120). Report is 7 commits behind head on master.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #475 +/- ## ======================================= Coverage 95.26% 95.26% ======================================= Files 32 32 Lines 1478 1478 ======================================= Hits 1408 1408 Misses 70 70 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

github-actions[bot] commented 5 months ago

Memory usage change @ 45b1120c5bffb2955e95adc181538a81c5af19f5

Board flash % RAM for global variables %
arduino:esp32:nano_nora :small_red_triangle: +28 - +28 0.0 - 0.0 0 - 0 0.0 - 0.0
arduino:mbed_edge:edge_control 0 - 0 0.0 - 0.0 0 - 0 0.0 - 0.0
arduino:mbed_giga:giga :small_red_triangle: 0 - +64 0.0 - 0.0 0 - 0 0.0 - 0.0
arduino:mbed_nano:nanorp2040connect :small_red_triangle: 0 - +32 0.0 - 0.0 0 - 0 0.0 - 0.0
arduino:mbed_nicla:nicla_vision :small_red_triangle: 0 - +64 0.0 - 0.0 0 - 0 0.0 - 0.0
arduino:mbed_opta:opta :small_red_triangle: 0 - +64 0.0 - 0.0 0 - 0 0.0 - 0.0
arduino:mbed_portenta:envie_m7 N/A N/A N/A N/A
arduino:renesas_portenta:portenta_c33 0 - 0 0.0 - 0.0 0 - 0 0.0 - 0.0
arduino:renesas_uno:unor4wifi 0 - 0 0.0 - 0.0 0 - 0 0.0 - 0.0
arduino:samd:mkr1000 0 - 0 0.0 - 0.0 0 - 0 0.0 - 0.0
arduino:samd:mkrgsm1400 0 - 0 0.0 - 0.0 0 - 0 0.0 - 0.0
arduino:samd:mkrnb1500 0 - 0 0.0 - 0.0 0 - 0 0.0 - 0.0
arduino:samd:mkrwan1300 0 - 0 0.0 - 0.0 0 - 0 0.0 - 0.0
arduino:samd:mkrwifi1010 :green_heart: -112 - 0 -0.04 - 0.0 0 - 0 0.0 - 0.0
arduino:samd:nano_33_iot :green_heart: -112 - 0 -0.04 - 0.0 0 - 0 0.0 - 0.0
esp32:esp32:esp32 :green_heart: -84 - -80 -0.01 - -0.01 0 - 0 0.0 - 0.0
esp8266:esp8266:huzzah :green_heart: -112 - -92 -0.01 - -0.01 :green_heart: -68 - -64 -0.08 - -0.08
Click for full report table Board|`examples/ArduinoIoTCloud-Advanced`
flash|%|`examples/ArduinoIoTCloud-Advanced`
RAM for global variables|%|`examples/ArduinoIoTCloud-Basic`
flash|%|`examples/ArduinoIoTCloud-Basic`
RAM for global variables|%|`examples/ArduinoIoTCloud-Callbacks`
flash|%|`examples/ArduinoIoTCloud-Callbacks`
RAM for global variables|%|`examples/ArduinoIoTCloud-Schedule`
flash|%|`examples/ArduinoIoTCloud-Schedule`
RAM for global variables|%|`examples/utility/ArduinoIoTCloud_Travis_CI`
flash|%|`examples/utility/ArduinoIoTCloud_Travis_CI`
RAM for global variables|%|`examples/ArduinoIoTCloud-DeferredOTA`
flash|%|`examples/ArduinoIoTCloud-DeferredOTA`
RAM for global variables|%|`examples/utility/Provisioning`
flash|%|`examples/utility/Provisioning`
RAM for global variables|%|`examples/utility/SelfProvisioning`
flash|%|`examples/utility/SelfProvisioning`
RAM for global variables|% -|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|- `arduino:esp32:nano_nora`|28|0.0|0|0.0|28|0.0|0|0.0|28|0.0|0|0.0|28|0.0|0|0.0|28|0.0|0|0.0|28|0.0|0|0.0 `arduino:mbed_edge:edge_control`|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|||| `arduino:mbed_giga:giga`|0|0.0|0|0.0|0|0.0|0|0.0|64|0.0|0|0.0|0|0.0|0|0.0|64|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0 `arduino:mbed_nano:nanorp2040connect`|32|0.0|0|0.0|32|0.0|0|0.0|32|0.0|0|0.0|32|0.0|0|0.0|32|0.0|0|0.0|32|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0 `arduino:mbed_nicla:nicla_vision`|0|0.0|0|0.0|64|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|64|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|||| `arduino:mbed_opta:opta`|64|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|64|0.0|0|0.0|64|0.0|0|0.0|0|0.0|0|0.0|||| `arduino:mbed_portenta:envie_m7`|N/A|N/A|N/A|N/A|N/A|N/A|N/A|N/A|N/A|N/A|N/A|N/A|N/A|N/A|N/A|N/A|N/A|N/A|N/A|N/A|N/A|N/A|N/A|N/A|N/A|N/A|N/A|N/A|||| `arduino:renesas_portenta:portenta_c33`|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|||||0|0.0|0|0.0|||| `arduino:renesas_uno:unor4wifi`|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|||||||||||| `arduino:samd:mkr1000`|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|||||0|0.0|0|0.0|||| `arduino:samd:mkrgsm1400`|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|||||0|0.0|0|0.0|||| `arduino:samd:mkrnb1500`|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|||||0|0.0|0|0.0|||| `arduino:samd:mkrwan1300`|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|||||||||||| `arduino:samd:mkrwifi1010`|-112|-0.04|0|0.0|-112|-0.04|0|0.0|-112|-0.04|0|0.0|-112|-0.04|0|0.0|-112|-0.04|0|0.0|-112|-0.04|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0 `arduino:samd:nano_33_iot`|-112|-0.04|0|0.0|-112|-0.04|0|0.0|-112|-0.04|0|0.0|-112|-0.04|0|0.0|-112|-0.04|0|0.0|-112|-0.04|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0 `esp32:esp32:esp32`|-80|-0.01|0|0.0|-80|-0.01|0|0.0|-80|-0.01|0|0.0|-84|-0.01|0|0.0|-84|-0.01|0|0.0|-80|-0.01|0|0.0|||||||| `esp8266:esp8266:huzzah`|-92|-0.01|-68|-0.08|-96|-0.01|-64|-0.08|-112|-0.01|-64|-0.08|-112|-0.01|-64|-0.08|-112|-0.01|-64|-0.08||||||||||||
Click for full report CSV ``` Board,examples/ArduinoIoTCloud-Advanced
flash,%,examples/ArduinoIoTCloud-Advanced
RAM for global variables,%,examples/ArduinoIoTCloud-Basic
flash,%,examples/ArduinoIoTCloud-Basic
RAM for global variables,%,examples/ArduinoIoTCloud-Callbacks
flash,%,examples/ArduinoIoTCloud-Callbacks
RAM for global variables,%,examples/ArduinoIoTCloud-Schedule
flash,%,examples/ArduinoIoTCloud-Schedule
RAM for global variables,%,examples/utility/ArduinoIoTCloud_Travis_CI
flash,%,examples/utility/ArduinoIoTCloud_Travis_CI
RAM for global variables,%,examples/ArduinoIoTCloud-DeferredOTA
flash,%,examples/ArduinoIoTCloud-DeferredOTA
RAM for global variables,%,examples/utility/Provisioning
flash,%,examples/utility/Provisioning
RAM for global variables,%,examples/utility/SelfProvisioning
flash,%,examples/utility/SelfProvisioning
RAM for global variables,% arduino:esp32:nano_nora,28,0.0,0,0.0,28,0.0,0,0.0,28,0.0,0,0.0,28,0.0,0,0.0,28,0.0,0,0.0,28,0.0,0,0.0 arduino:mbed_edge:edge_control,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,,,, arduino:mbed_giga:giga,0,0.0,0,0.0,0,0.0,0,0.0,64,0.0,0,0.0,0,0.0,0,0.0,64,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0 arduino:mbed_nano:nanorp2040connect,32,0.0,0,0.0,32,0.0,0,0.0,32,0.0,0,0.0,32,0.0,0,0.0,32,0.0,0,0.0,32,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0 arduino:mbed_nicla:nicla_vision,0,0.0,0,0.0,64,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,64,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,,,, arduino:mbed_opta:opta,64,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,64,0.0,0,0.0,64,0.0,0,0.0,0,0.0,0,0.0,,,, arduino:mbed_portenta:envie_m7,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,,,, arduino:renesas_portenta:portenta_c33,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,,,,,0,0.0,0,0.0,,,, arduino:renesas_uno:unor4wifi,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,,,,,,,,,,,, arduino:samd:mkr1000,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,,,,,0,0.0,0,0.0,,,, arduino:samd:mkrgsm1400,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,,,,,0,0.0,0,0.0,,,, arduino:samd:mkrnb1500,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,,,,,0,0.0,0,0.0,,,, arduino:samd:mkrwan1300,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,,,,,,,,,,,, arduino:samd:mkrwifi1010,-112,-0.04,0,0.0,-112,-0.04,0,0.0,-112,-0.04,0,0.0,-112,-0.04,0,0.0,-112,-0.04,0,0.0,-112,-0.04,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0 arduino:samd:nano_33_iot,-112,-0.04,0,0.0,-112,-0.04,0,0.0,-112,-0.04,0,0.0,-112,-0.04,0,0.0,-112,-0.04,0,0.0,-112,-0.04,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0 esp32:esp32:esp32,-80,-0.01,0,0.0,-80,-0.01,0,0.0,-80,-0.01,0,0.0,-84,-0.01,0,0.0,-84,-0.01,0,0.0,-80,-0.01,0,0.0,,,,,,,, esp8266:esp8266:huzzah,-92,-0.01,-68,-0.08,-96,-0.01,-64,-0.08,-112,-0.01,-64,-0.08,-112,-0.01,-64,-0.08,-112,-0.01,-64,-0.08,,,,,,,,,,,, ```