Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow usage without ConnectionHandler #405

Closed
wants to merge 5 commits into from

Conversation

pennam
Copy link
Collaborator

@pennam pennam commented Jan 11, 2024

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

Fixes: #338

@per1234 per1234 added type: enhancement Proposed improvement topic: code Related to content of the project itself labels Jan 11, 2024
Copy link

Memory usage change @ 6abf46b

Board flash % RAM for global variables %
arduino:esp32:nano_nora 🔺 +188 - +212 +0.01 - +0.01 🔺 +8 - +8 0.0 - 0.0
arduino:mbed_edge:edge_control 🔺 +80 - +152 +0.01 - +0.02 🔺 +8 - +8 0.0 - 0.0
arduino:mbed_giga:giga 🔺 +88 - +152 0.0 - +0.01 🔺 0 - +32 0.0 - +0.01
arduino:mbed_nano:nanorp2040connect 🔺 +53 - +123 0.0 - 0.0 🔺 +8 - +8 0.0 - 0.0
arduino:mbed_nicla:nicla_vision 🔺 +16 - +152 0.0 - +0.01 🔺 0 - +32 0.0 - +0.01
arduino:mbed_opta:opta 🔺 +16 - +152 0.0 - +0.01 🔺 0 - +32 0.0 - +0.01
arduino:mbed_portenta:envie_m7 N/A N/A N/A N/A
arduino:renesas_portenta:portenta_c33 🔺 +56 - +120 0.0 - +0.01 🔺 0 - +32 0.0 - +0.01
arduino:renesas_uno:unor4wifi 🔺 +120 - +136 +0.05 - +0.05 🔺 +8 - +8 +0.02 - +0.02
arduino:samd:mkr1000 🔺 +48 - +112 +0.02 - +0.04 🔺 +8 - +8 +0.02 - +0.02
arduino:samd:mkrgsm1400 🔺 +56 - +120 +0.02 - +0.05 🔺 +8 - +8 +0.02 - +0.02
arduino:samd:mkrnb1500 🔺 +48 - +120 +0.02 - +0.05 🔺 +8 - +8 +0.02 - +0.02
arduino:samd:mkrwan1300 0 - 0 0.0 - 0.0 🔺 0 - +8 0.0 - +0.02
arduino:samd:mkrwifi1010 🔺 +40 - +120 +0.02 - +0.05 🔺 +8 - +8 +0.02 - +0.02
arduino:samd:nano_33_iot 🔺 +40 - +120 +0.02 - +0.05 🔺 +8 - +8 +0.02 - +0.02
esp32:esp32:esp32 🔺 +180 - +200 +0.01 - +0.02 🔺 +8 - +8 0.0 - 0.0
esp8266:esp8266:huzzah 🔺 +148 - +168 +0.01 - +0.02 🔺 +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,,,,,,,,,,,,

@pennam pennam closed this May 17, 2024
@pennam pennam deleted the no_connection_handler branch May 17, 2024 09:11
@pennam pennam restored the no_connection_handler branch June 13, 2024 12:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: code Related to content of the project itself type: enhancement Proposed improvement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Use without using Arduino_ConnectionHandler library
2 participants