ArduinoIoTCloud icon indicating copy to clipboard operation
ArduinoIoTCloud copied to clipboard

Allow usage without ConnectionHandler

Open pennam opened this issue 1 year ago • 1 comments

DRAFT PR, still a bit of work to do. ConnectionHandler is not used but needs to be included.

Fixes: #338

pennam avatar Jan 11 '24 10:01 pennam

Memory usage change @ 6abf46bd57713f44a6edb0a6448fcebd3dd9f5d3

Board flash % RAM for global variables %
arduino:esp32:nano_nora :small_red_triangle: +188 - +212 +0.01 - +0.01 :small_red_triangle: +8 - +8 0.0 - 0.0
arduino:mbed_edge:edge_control :small_red_triangle: +80 - +152 +0.01 - +0.02 :small_red_triangle: +8 - +8 0.0 - 0.0
arduino:mbed_giga:giga :small_red_triangle: +88 - +152 0.0 - +0.01 :small_red_triangle: 0 - +32 0.0 - +0.01
arduino:mbed_nano:nanorp2040connect :small_red_triangle: +53 - +123 0.0 - 0.0 :small_red_triangle: +8 - +8 0.0 - 0.0
arduino:mbed_nicla:nicla_vision :small_red_triangle: +16 - +152 0.0 - +0.01 :small_red_triangle: 0 - +32 0.0 - +0.01
arduino:mbed_opta:opta :small_red_triangle: +16 - +152 0.0 - +0.01 :small_red_triangle: 0 - +32 0.0 - +0.01
arduino:mbed_portenta:envie_m7 N/A N/A N/A N/A
arduino:renesas_portenta:portenta_c33 :small_red_triangle: +56 - +120 0.0 - +0.01 :small_red_triangle: 0 - +32 0.0 - +0.01
arduino:renesas_uno:unor4wifi :small_red_triangle: +120 - +136 +0.05 - +0.05 :small_red_triangle: +8 - +8 +0.02 - +0.02
arduino:samd:mkr1000 :small_red_triangle: +48 - +112 +0.02 - +0.04 :small_red_triangle: +8 - +8 +0.02 - +0.02
arduino:samd:mkrgsm1400 :small_red_triangle: +56 - +120 +0.02 - +0.05 :small_red_triangle: +8 - +8 +0.02 - +0.02
arduino:samd:mkrnb1500 :small_red_triangle: +48 - +120 +0.02 - +0.05 :small_red_triangle: +8 - +8 +0.02 - +0.02
arduino:samd:mkrwan1300 0 - 0 0.0 - 0.0 :small_red_triangle: 0 - +8 0.0 - +0.02
arduino:samd:mkrwifi1010 :small_red_triangle: +40 - +120 +0.02 - +0.05 :small_red_triangle: +8 - +8 +0.02 - +0.02
arduino:samd:nano_33_iot :small_red_triangle: +40 - +120 +0.02 - +0.05 :small_red_triangle: +8 - +8 +0.02 - +0.02
esp32:esp32:esp32 :small_red_triangle: +180 - +200 +0.01 - +0.02 :small_red_triangle: +8 - +8 0.0 - 0.0
esp8266:esp8266:huzzah :small_red_triangle: +148 - +168 +0.01 - +0.02 :small_red_triangle: +32 - +44 +0.04 - +0.05
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 188 0.01 8 0.0 192 0.01 8 0.0 188 0.01 8 0.0 196 0.01 8 0.0 208 0.01 8 0.0 212 0.01 8 0.0
arduino:mbed_edge:edge_control 80 0.01 8 0.0 152 0.02 8 0.0 144 0.01 8 0.0 152 0.02 8 0.0 80 0.01 8 0.0
arduino:mbed_giga:giga 144 0.01 0 0.0 144 0.01 32 0.01 144 0.01 0 0.0 144 0.01 32 0.01 152 0.01 0 0.0 144 0.01 0 0.0 88 0.0 32 0.01
arduino:mbed_nano:nanorp2040connect 123 0.0 8 0.0 123 0.0 8 0.0 123 0.0 8 0.0 123 0.0 8 0.0 123 0.0 8 0.0 123 0.0 8 0.0 53 0.0 8 0.0 53 0.0 8 0.0
arduino:mbed_nicla:nicla_vision 144 0.01 32 0.01 152 0.01 0 0.0 88 0.0 0 0.0 144 0.01 0 0.0 152 0.01 0 0.0 152 0.01 0 0.0 16 0.0 0 0.0
arduino:mbed_opta:opta 80 0.0 0 0.0 152 0.01 32 0.01 80 0.0 0 0.0 144 0.01 0 0.0 152 0.01 32 0.01 144 0.01 0 0.0 16 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 112 0.01 0 0.0 112 0.01 0 0.0 120 0.01 32 0.01 120 0.01 0 0.0 120 0.01 0 0.0 56 0.0 0 0.0
arduino:renesas_uno:unor4wifi 120 0.05 8 0.02 120 0.05 8 0.02 136 0.05 8 0.02 120 0.05 8 0.02 120 0.05 8 0.02
arduino:samd:mkr1000 112 0.04 8 0.02 112 0.04 8 0.02 112 0.04 8 0.02 112 0.04 8 0.02 112 0.04 8 0.02 48 0.02 8 0.02
arduino:samd:mkrgsm1400 120 0.05 8 0.02 120 0.05 8 0.02 120 0.05 8 0.02 120 0.05 8 0.02 120 0.05 8 0.02 56 0.02 8 0.02
arduino:samd:mkrnb1500 112 0.04 8 0.02 120 0.05 8 0.02 120 0.05 8 0.02 112 0.04 8 0.02 120 0.05 8 0.02 48 0.02 8 0.02
arduino:samd:mkrwan1300 0 0.0 8 0.02 0 0.0 0 0.0 0 0.0 8 0.02 0 0.0 8 0.02 0 0.0 0 0.0
arduino:samd:mkrwifi1010 120 0.05 8 0.02 120 0.05 8 0.02 120 0.05 8 0.02 120 0.05 8 0.02 120 0.05 8 0.02 120 0.05 8 0.02 40 0.02 8 0.02 48 0.02 8 0.02
arduino:samd:nano_33_iot 120 0.05 8 0.02 120 0.05 8 0.02 120 0.05 8 0.02 120 0.05 8 0.02 120 0.05 8 0.02 120 0.05 8 0.02 48 0.02 8 0.02 40 0.02 8 0.02
esp32:esp32:esp32 196 0.01 8 0.0 184 0.01 8 0.0 200 0.02 8 0.0 184 0.01 8 0.0 192 0.01 8 0.0 180 0.01 8 0.0
esp8266:esp8266:huzzah 168 0.02 32 0.04 148 0.01 44 0.05 164 0.02 36 0.04 148 0.01 44 0.05 164 0.02 36 0.04
Click for full report CSV
Board,examples/ArduinoIoTCloud-Advanced<br>flash,%,examples/ArduinoIoTCloud-Advanced<br>RAM for global variables,%,examples/ArduinoIoTCloud-Basic<br>flash,%,examples/ArduinoIoTCloud-Basic<br>RAM for global variables,%,examples/ArduinoIoTCloud-Callbacks<br>flash,%,examples/ArduinoIoTCloud-Callbacks<br>RAM for global variables,%,examples/ArduinoIoTCloud-Schedule<br>flash,%,examples/ArduinoIoTCloud-Schedule<br>RAM for global variables,%,examples/utility/ArduinoIoTCloud_Travis_CI<br>flash,%,examples/utility/ArduinoIoTCloud_Travis_CI<br>RAM for global variables,%,examples/ArduinoIoTCloud-DeferredOTA<br>flash,%,examples/ArduinoIoTCloud-DeferredOTA<br>RAM for global variables,%,examples/utility/Provisioning<br>flash,%,examples/utility/Provisioning<br>RAM for global variables,%,examples/utility/SelfProvisioning<br>flash,%,examples/utility/SelfProvisioning<br>RAM for global variables,%
arduino:esp32:nano_nora,188,0.01,8,0.0,192,0.01,8,0.0,188,0.01,8,0.0,196,0.01,8,0.0,208,0.01,8,0.0,212,0.01,8,0.0
arduino:mbed_edge:edge_control,80,0.01,8,0.0,152,0.02,8,0.0,144,0.01,8,0.0,152,0.02,8,0.0,80,0.01,8,0.0,,,,
arduino:mbed_giga:giga,144,0.01,0,0.0,144,0.01,32,0.01,144,0.01,0,0.0,144,0.01,32,0.01,152,0.01,0,0.0,144,0.01,0,0.0,88,0.0,32,0.01
arduino:mbed_nano:nanorp2040connect,123,0.0,8,0.0,123,0.0,8,0.0,123,0.0,8,0.0,123,0.0,8,0.0,123,0.0,8,0.0,123,0.0,8,0.0,53,0.0,8,0.0,53,0.0,8,0.0
arduino:mbed_nicla:nicla_vision,144,0.01,32,0.01,152,0.01,0,0.0,88,0.0,0,0.0,144,0.01,0,0.0,152,0.01,0,0.0,152,0.01,0,0.0,16,0.0,0,0.0,,,,
arduino:mbed_opta:opta,80,0.0,0,0.0,152,0.01,32,0.01,80,0.0,0,0.0,144,0.01,0,0.0,152,0.01,32,0.01,144,0.01,0,0.0,16,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,112,0.01,0,0.0,112,0.01,0,0.0,120,0.01,32,0.01,120,0.01,0,0.0,120,0.01,0,0.0,,,,,56,0.0,0,0.0,,,,
arduino:renesas_uno:unor4wifi,120,0.05,8,0.02,120,0.05,8,0.02,136,0.05,8,0.02,120,0.05,8,0.02,120,0.05,8,0.02,,,,,,,,,,,,
arduino:samd:mkr1000,112,0.04,8,0.02,112,0.04,8,0.02,112,0.04,8,0.02,112,0.04,8,0.02,112,0.04,8,0.02,,,,,48,0.02,8,0.02,,,,
arduino:samd:mkrgsm1400,120,0.05,8,0.02,120,0.05,8,0.02,120,0.05,8,0.02,120,0.05,8,0.02,120,0.05,8,0.02,,,,,56,0.02,8,0.02,,,,
arduino:samd:mkrnb1500,112,0.04,8,0.02,120,0.05,8,0.02,120,0.05,8,0.02,112,0.04,8,0.02,120,0.05,8,0.02,,,,,48,0.02,8,0.02,,,,
arduino:samd:mkrwan1300,0,0.0,8,0.02,0,0.0,0,0.0,0,0.0,8,0.02,0,0.0,8,0.02,0,0.0,0,0.0,,,,,,,,,,,,
arduino:samd:mkrwifi1010,120,0.05,8,0.02,120,0.05,8,0.02,120,0.05,8,0.02,120,0.05,8,0.02,120,0.05,8,0.02,120,0.05,8,0.02,40,0.02,8,0.02,48,0.02,8,0.02
arduino:samd:nano_33_iot,120,0.05,8,0.02,120,0.05,8,0.02,120,0.05,8,0.02,120,0.05,8,0.02,120,0.05,8,0.02,120,0.05,8,0.02,48,0.02,8,0.02,40,0.02,8,0.02
esp32:esp32:esp32,196,0.01,8,0.0,184,0.01,8,0.0,200,0.02,8,0.0,184,0.01,8,0.0,192,0.01,8,0.0,180,0.01,8,0.0,,,,,,,,
esp8266:esp8266:huzzah,168,0.02,32,0.04,148,0.01,44,0.05,164,0.02,36,0.04,148,0.01,44,0.05,164,0.02,36,0.04,,,,,,,,,,,,

github-actions[bot] avatar Jan 12 '24 21:01 github-actions[bot]