Skip to content

chore: clean examples #426

New issue

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

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

Already on GitHub? # to your account

Merged
merged 2 commits into from
Apr 2, 2024
Merged

Conversation

zfields
Copy link
Contributor

@zfields zfields commented Feb 18, 2024

  • Remove/replace deprecated API calls
  • Fix whitespace

@per1234 per1234 added type: imperfection Perceived defect in any part of project type: enhancement Proposed improvement topic: documentation Related to documentation for the project labels Feb 19, 2024
@zfields
Copy link
Contributor Author

zfields commented Feb 19, 2024

Rebased to consider latest merge

Copy link

Memory usage change @ 0cf2592

Board flash % RAM for global variables %
arduino:esp32:nano_nora 💚 -104 - 0 -0.0 - 0.0 0 - 0 0.0 - 0.0
arduino:mbed_edge:edge_control 💚 -128 - 0 -0.01 - 0.0 0 - 0 0.0 - 0.0
arduino:mbed_giga:giga 💚 -192 - 0 -0.01 - 0.0 0 - 0 0.0 - 0.0
arduino:mbed_nano:nanorp2040connect 💚 -140 - 0 -0.0 - 0.0 0 - 0 0.0 - 0.0
arduino:mbed_nicla:nicla_vision 💚 -192 - 0 -0.01 - 0.0 0 - 0 0.0 - 0.0
arduino:mbed_opta:opta 💚 -192 - 0 -0.01 - 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 💚 -208 - 0 -0.01 - 0.0 0 - 0 0.0 - 0.0
arduino:renesas_uno:unor4wifi 💚 -192 - 0 -0.07 - 0.0 0 - 0 0.0 - 0.0
arduino:samd:mkr1000 💚 -144 - 0 -0.05 - 0.0 0 - 0 0.0 - 0.0
arduino:samd:mkrgsm1400 💚 -144 - 0 -0.05 - 0.0 0 - 0 0.0 - 0.0
arduino:samd:mkrnb1500 💚 -144 - 0 -0.05 - 0.0 0 - 0 0.0 - 0.0
arduino:samd:mkrwan1300 💚 -208 - 0 -0.08 - 0.0 0 - 0 0.0 - 0.0
arduino:samd:mkrwifi1010 💚 -136 - 0 -0.05 - 0.0 0 - 0 0.0 - 0.0
arduino:samd:nano_33_iot 💚 -136 - 0 -0.05 - 0.0 0 - 0 0.0 - 0.0
esp32:esp32:esp32 💚 -100 - 0 -0.01 - 0.0 0 - 0 0.0 - 0.0
esp8266:esp8266:huzzah 💚 -192 - 0 -0.02 - 0.0 0 - 0 0.0 - 0.0
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 -68 -0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 -104 -0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0
arduino:mbed_edge:edge_control -64 -0.01 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 -128 -0.01 0 0.0 0 0.0 0 0.0
arduino:mbed_giga:giga -64 -0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 -192 -0.01 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0
arduino:mbed_nano:nanorp2040connect -94 -0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 -140 -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_nicla:nicla_vision -128 -0.01 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 -192 -0.01 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0
arduino:mbed_opta:opta -128 -0.01 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 -192 -0.01 0 0.0 0 0.0 0 0.0 0 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 -160 -0.01 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 -208 -0.01 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0
arduino:renesas_uno:unor4wifi -160 -0.06 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 -192 -0.07 0 0.0 0 0.0 0 0.0
arduino:samd:mkr1000 -96 -0.04 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 -144 -0.05 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0
arduino:samd:mkrgsm1400 -96 -0.04 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 -144 -0.05 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0
arduino:samd:mkrnb1500 -96 -0.04 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 -144 -0.05 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0
arduino:samd:mkrwan1300 -208 -0.08 0 0.0 -144 -0.05 0 0.0 0 0.0 0 0.0 -152 -0.06 0 0.0 0 0.0 0 0.0
arduino:samd:mkrwifi1010 -88 -0.03 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 -136 -0.05 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:nano_33_iot -88 -0.03 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 -136 -0.05 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
esp32:esp32:esp32 -68 -0.01 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 -100 -0.01 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0
esp8266:esp8266:huzzah -144 -0.01 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 -192 -0.02 0 0.0 0 0.0 0 0.0
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,-68,-0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,-104,-0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0
arduino:mbed_edge:edge_control,-64,-0.01,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,-128,-0.01,0,0.0,0,0.0,0,0.0,,,,
arduino:mbed_giga:giga,-64,-0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,-192,-0.01,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0
arduino:mbed_nano:nanorp2040connect,-94,-0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,-140,-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_nicla:nicla_vision,-128,-0.01,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,-192,-0.01,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,,,,
arduino:mbed_opta:opta,-128,-0.01,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,-192,-0.01,0,0.0,0,0.0,0,0.0,0,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,-160,-0.01,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,-208,-0.01,0,0.0,0,0.0,0,0.0,,,,,0,0.0,0,0.0,,,,
arduino:renesas_uno:unor4wifi,-160,-0.06,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,-192,-0.07,0,0.0,0,0.0,0,0.0,,,,,,,,,,,,
arduino:samd:mkr1000,-96,-0.04,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,-144,-0.05,0,0.0,0,0.0,0,0.0,,,,,0,0.0,0,0.0,,,,
arduino:samd:mkrgsm1400,-96,-0.04,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,-144,-0.05,0,0.0,0,0.0,0,0.0,,,,,0,0.0,0,0.0,,,,
arduino:samd:mkrnb1500,-96,-0.04,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,-144,-0.05,0,0.0,0,0.0,0,0.0,,,,,0,0.0,0,0.0,,,,
arduino:samd:mkrwan1300,-208,-0.08,0,0.0,-144,-0.05,0,0.0,0,0.0,0,0.0,-152,-0.06,0,0.0,0,0.0,0,0.0,,,,,,,,,,,,
arduino:samd:mkrwifi1010,-88,-0.03,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,-136,-0.05,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:nano_33_iot,-88,-0.03,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,-136,-0.05,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
esp32:esp32:esp32,-68,-0.01,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,-100,-0.01,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,,,,,,,,
esp8266:esp8266:huzzah,-144,-0.01,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,-192,-0.02,0,0.0,0,0.0,0,0.0,,,,,,,,,,,,

Copy link

Memory usage change @ d3a79e7

Board flash % RAM for global variables %
arduino:esp32:nano_nora 💚 -96 - 0 -0.0 - 0.0 0 - 0 0.0 - 0.0
arduino:mbed_edge:edge_control 💚 -128 - 0 -0.01 - 0.0 0 - 0 0.0 - 0.0
arduino:mbed_giga:giga 💚 -192 - 0 -0.01 - 0.0 0 - 0 0.0 - 0.0
arduino:mbed_nano:nanorp2040connect 💚 -140 - 0 -0.0 - 0.0 0 - 0 0.0 - 0.0
arduino:mbed_nicla:nicla_vision 💚 -192 - 0 -0.01 - 0.0 0 - 0 0.0 - 0.0
arduino:mbed_opta:opta 💚 -192 - 0 -0.01 - 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 💚 -208 - 0 -0.01 - 0.0 0 - 0 0.0 - 0.0
arduino:renesas_uno:unor4wifi 💚 -192 - 0 -0.07 - 0.0 0 - 0 0.0 - 0.0
arduino:samd:mkr1000 💚 -144 - 0 -0.05 - 0.0 0 - 0 0.0 - 0.0
arduino:samd:mkrgsm1400 💚 -136 - 0 -0.05 - 0.0 0 - 0 0.0 - 0.0
arduino:samd:mkrnb1500 💚 -144 - 0 -0.05 - 0.0 0 - 0 0.0 - 0.0
arduino:samd:mkrwan1300 💚 -208 - 0 -0.08 - 0.0 0 - 0 0.0 - 0.0
arduino:samd:mkrwifi1010 💚 -136 - 0 -0.05 - 0.0 0 - 0 0.0 - 0.0
arduino:samd:nano_33_iot 💚 -136 - 0 -0.05 - 0.0 0 - 0 0.0 - 0.0
esp32:esp32:esp32 💚 -96 - 0 -0.01 - 0.0 0 - 0 0.0 - 0.0
esp8266:esp8266:huzzah 💚 -192 - 0 -0.02 - 0.0 0 - 0 0.0 - 0.0
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 -64 -0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 -96 -0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0
arduino:mbed_edge:edge_control -64 -0.01 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 -128 -0.01 0 0.0 0 0.0 0 0.0
arduino:mbed_giga:giga -64 -0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 -192 -0.01 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0
arduino:mbed_nano:nanorp2040connect -94 -0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 -140 -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_nicla:nicla_vision -128 -0.01 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 -192 -0.01 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0
arduino:mbed_opta:opta -128 -0.01 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 -192 -0.01 0 0.0 0 0.0 0 0.0 0 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 -168 -0.01 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 -208 -0.01 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0
arduino:renesas_uno:unor4wifi -160 -0.06 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 -192 -0.07 0 0.0 0 0.0 0 0.0
arduino:samd:mkr1000 -96 -0.04 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 -144 -0.05 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0
arduino:samd:mkrgsm1400 -88 -0.03 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 -136 -0.05 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0
arduino:samd:mkrnb1500 -96 -0.04 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 -144 -0.05 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0
arduino:samd:mkrwan1300 -208 -0.08 0 0.0 -144 -0.05 0 0.0 0 0.0 0 0.0 -152 -0.06 0 0.0 0 0.0 0 0.0
arduino:samd:mkrwifi1010 -88 -0.03 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 -136 -0.05 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:nano_33_iot -88 -0.03 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 -136 -0.05 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
esp32:esp32:esp32 -72 -0.01 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 -96 -0.01 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0
esp8266:esp8266:huzzah -144 -0.01 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 -192 -0.02 0 0.0 0 0.0 0 0.0
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,-64,-0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,-96,-0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0
arduino:mbed_edge:edge_control,-64,-0.01,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,-128,-0.01,0,0.0,0,0.0,0,0.0,,,,
arduino:mbed_giga:giga,-64,-0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,-192,-0.01,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0
arduino:mbed_nano:nanorp2040connect,-94,-0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,-140,-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_nicla:nicla_vision,-128,-0.01,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,-192,-0.01,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,,,,
arduino:mbed_opta:opta,-128,-0.01,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,-192,-0.01,0,0.0,0,0.0,0,0.0,0,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,-168,-0.01,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,-208,-0.01,0,0.0,0,0.0,0,0.0,,,,,0,0.0,0,0.0,,,,
arduino:renesas_uno:unor4wifi,-160,-0.06,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,-192,-0.07,0,0.0,0,0.0,0,0.0,,,,,,,,,,,,
arduino:samd:mkr1000,-96,-0.04,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,-144,-0.05,0,0.0,0,0.0,0,0.0,,,,,0,0.0,0,0.0,,,,
arduino:samd:mkrgsm1400,-88,-0.03,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,-136,-0.05,0,0.0,0,0.0,0,0.0,,,,,0,0.0,0,0.0,,,,
arduino:samd:mkrnb1500,-96,-0.04,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,-144,-0.05,0,0.0,0,0.0,0,0.0,,,,,0,0.0,0,0.0,,,,
arduino:samd:mkrwan1300,-208,-0.08,0,0.0,-144,-0.05,0,0.0,0,0.0,0,0.0,-152,-0.06,0,0.0,0,0.0,0,0.0,,,,,,,,,,,,
arduino:samd:mkrwifi1010,-88,-0.03,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,-136,-0.05,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:nano_33_iot,-88,-0.03,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,-136,-0.05,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
esp32:esp32:esp32,-72,-0.01,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,-96,-0.01,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,,,,,,,,
esp8266:esp8266:huzzah,-144,-0.01,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,-192,-0.02,0,0.0,0,0.0,0,0.0,,,,,,,,,,,,

Copy link

github-actions bot commented Mar 5, 2024

Memory usage change @ f617718

Board flash % RAM for global variables %
arduino:esp32:nano_nora 💚 -92 - 0 -0.0 - 0.0 0 - 0 0.0 - 0.0
arduino:mbed_edge:edge_control 💚 -192 - 0 -0.02 - 0.0 0 - 0 0.0 - 0.0
arduino:mbed_giga:giga 💚 -192 - 0 -0.01 - 0.0 0 - 0 0.0 - 0.0
arduino:mbed_nano:nanorp2040connect 💚 -140 - 0 -0.0 - 0.0 0 - 0 0.0 - 0.0
arduino:mbed_nicla:nicla_vision 💚 -128 - 0 -0.01 - 0.0 0 - 0 0.0 - 0.0
arduino:mbed_opta:opta 💚 -192 - 0 -0.01 - 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 💚 -208 - 0 -0.01 - 0.0 0 - 0 0.0 - 0.0
arduino:renesas_uno:unor4wifi 💚 -192 - 0 -0.07 - 0.0 0 - 0 0.0 - 0.0
arduino:samd:mkr1000 💚 -144 - 0 -0.05 - 0.0 0 - 0 0.0 - 0.0
arduino:samd:mkrgsm1400 💚 -144 - 0 -0.05 - 0.0 0 - 0 0.0 - 0.0
arduino:samd:mkrnb1500 💚 -144 - 0 -0.05 - 0.0 0 - 0 0.0 - 0.0
arduino:samd:mkrwan1300 💚 -208 - 0 -0.08 - 0.0 0 - 0 0.0 - 0.0
arduino:samd:mkrwifi1010 💚 -144 - 0 -0.05 - 0.0 0 - 0 0.0 - 0.0
arduino:samd:nano_33_iot 💚 -144 - 0 -0.05 - 0.0 0 - 0 0.0 - 0.0
esp32:esp32:esp32 💚 -100 - 0 -0.01 - 0.0 0 - 0 0.0 - 0.0
esp8266:esp8266:huzzah 💚 -192 - 0 -0.02 - 0.0 0 - 0 0.0 - 0.0
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 -68 -0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 -92 -0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0
arduino:mbed_edge:edge_control -128 -0.01 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 -192 -0.02 0 0.0 0 0.0 0 0.0
arduino:mbed_giga:giga -64 -0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 -192 -0.01 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0
arduino:mbed_nano:nanorp2040connect -94 -0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 -140 -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_nicla:nicla_vision -64 -0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 -128 -0.01 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0
arduino:mbed_opta:opta -128 -0.01 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 -192 -0.01 0 0.0 0 0.0 0 0.0 0 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 -168 -0.01 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 -208 -0.01 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0
arduino:renesas_uno:unor4wifi -160 -0.06 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 -192 -0.07 0 0.0 0 0.0 0 0.0
arduino:samd:mkr1000 -88 -0.03 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 -144 -0.05 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0
arduino:samd:mkrgsm1400 -96 -0.04 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 -144 -0.05 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0
arduino:samd:mkrnb1500 -96 -0.04 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 -144 -0.05 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0
arduino:samd:mkrwan1300 -208 -0.08 0 0.0 -144 -0.05 0 0.0 0 0.0 0 0.0 -152 -0.06 0 0.0 0 0.0 0 0.0
arduino:samd:mkrwifi1010 -96 -0.04 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 -144 -0.05 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:nano_33_iot -96 -0.04 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 -144 -0.05 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
esp32:esp32:esp32 -68 -0.01 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 -100 -0.01 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0
esp8266:esp8266:huzzah -144 -0.01 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 -192 -0.02 0 0.0 0 0.0 0 0.0
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,-68,-0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,-92,-0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0
arduino:mbed_edge:edge_control,-128,-0.01,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,-192,-0.02,0,0.0,0,0.0,0,0.0,,,,
arduino:mbed_giga:giga,-64,-0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,-192,-0.01,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0
arduino:mbed_nano:nanorp2040connect,-94,-0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,-140,-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_nicla:nicla_vision,-64,-0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,-128,-0.01,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,,,,
arduino:mbed_opta:opta,-128,-0.01,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,-192,-0.01,0,0.0,0,0.0,0,0.0,0,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,-168,-0.01,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,-208,-0.01,0,0.0,0,0.0,0,0.0,,,,,0,0.0,0,0.0,,,,
arduino:renesas_uno:unor4wifi,-160,-0.06,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,-192,-0.07,0,0.0,0,0.0,0,0.0,,,,,,,,,,,,
arduino:samd:mkr1000,-88,-0.03,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,-144,-0.05,0,0.0,0,0.0,0,0.0,,,,,0,0.0,0,0.0,,,,
arduino:samd:mkrgsm1400,-96,-0.04,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,-144,-0.05,0,0.0,0,0.0,0,0.0,,,,,0,0.0,0,0.0,,,,
arduino:samd:mkrnb1500,-96,-0.04,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,-144,-0.05,0,0.0,0,0.0,0,0.0,,,,,0,0.0,0,0.0,,,,
arduino:samd:mkrwan1300,-208,-0.08,0,0.0,-144,-0.05,0,0.0,0,0.0,0,0.0,-152,-0.06,0,0.0,0,0.0,0,0.0,,,,,,,,,,,,
arduino:samd:mkrwifi1010,-96,-0.04,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,-144,-0.05,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:nano_33_iot,-96,-0.04,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,-144,-0.05,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
esp32:esp32:esp32,-68,-0.01,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,-100,-0.01,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,,,,,,,,
esp8266:esp8266:huzzah,-144,-0.01,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,-192,-0.02,0,0.0,0,0.0,0,0.0,,,,,,,,,,,,

2 similar comments
Copy link

github-actions bot commented Mar 5, 2024

Memory usage change @ f617718

Board flash % RAM for global variables %
arduino:esp32:nano_nora 💚 -92 - 0 -0.0 - 0.0 0 - 0 0.0 - 0.0
arduino:mbed_edge:edge_control 💚 -192 - 0 -0.02 - 0.0 0 - 0 0.0 - 0.0
arduino:mbed_giga:giga 💚 -192 - 0 -0.01 - 0.0 0 - 0 0.0 - 0.0
arduino:mbed_nano:nanorp2040connect 💚 -140 - 0 -0.0 - 0.0 0 - 0 0.0 - 0.0
arduino:mbed_nicla:nicla_vision 💚 -128 - 0 -0.01 - 0.0 0 - 0 0.0 - 0.0
arduino:mbed_opta:opta 💚 -192 - 0 -0.01 - 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 💚 -208 - 0 -0.01 - 0.0 0 - 0 0.0 - 0.0
arduino:renesas_uno:unor4wifi 💚 -192 - 0 -0.07 - 0.0 0 - 0 0.0 - 0.0
arduino:samd:mkr1000 💚 -144 - 0 -0.05 - 0.0 0 - 0 0.0 - 0.0
arduino:samd:mkrgsm1400 💚 -144 - 0 -0.05 - 0.0 0 - 0 0.0 - 0.0
arduino:samd:mkrnb1500 💚 -144 - 0 -0.05 - 0.0 0 - 0 0.0 - 0.0
arduino:samd:mkrwan1300 💚 -208 - 0 -0.08 - 0.0 0 - 0 0.0 - 0.0
arduino:samd:mkrwifi1010 💚 -144 - 0 -0.05 - 0.0 0 - 0 0.0 - 0.0
arduino:samd:nano_33_iot 💚 -144 - 0 -0.05 - 0.0 0 - 0 0.0 - 0.0
esp32:esp32:esp32 💚 -100 - 0 -0.01 - 0.0 0 - 0 0.0 - 0.0
esp8266:esp8266:huzzah 💚 -192 - 0 -0.02 - 0.0 0 - 0 0.0 - 0.0
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 -68 -0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 -92 -0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0
arduino:mbed_edge:edge_control -128 -0.01 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 -192 -0.02 0 0.0 0 0.0 0 0.0
arduino:mbed_giga:giga -64 -0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 -192 -0.01 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0
arduino:mbed_nano:nanorp2040connect -94 -0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 -140 -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_nicla:nicla_vision -64 -0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 -128 -0.01 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0
arduino:mbed_opta:opta -128 -0.01 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 -192 -0.01 0 0.0 0 0.0 0 0.0 0 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 -168 -0.01 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 -208 -0.01 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0
arduino:renesas_uno:unor4wifi -160 -0.06 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 -192 -0.07 0 0.0 0 0.0 0 0.0
arduino:samd:mkr1000 -88 -0.03 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 -144 -0.05 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0
arduino:samd:mkrgsm1400 -96 -0.04 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 -144 -0.05 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0
arduino:samd:mkrnb1500 -96 -0.04 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 -144 -0.05 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0
arduino:samd:mkrwan1300 -208 -0.08 0 0.0 -144 -0.05 0 0.0 0 0.0 0 0.0 -152 -0.06 0 0.0 0 0.0 0 0.0
arduino:samd:mkrwifi1010 -96 -0.04 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 -144 -0.05 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:nano_33_iot -96 -0.04 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 -144 -0.05 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
esp32:esp32:esp32 -68 -0.01 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 -100 -0.01 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0
esp8266:esp8266:huzzah -144 -0.01 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 -192 -0.02 0 0.0 0 0.0 0 0.0
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,-68,-0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,-92,-0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0
arduino:mbed_edge:edge_control,-128,-0.01,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,-192,-0.02,0,0.0,0,0.0,0,0.0,,,,
arduino:mbed_giga:giga,-64,-0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,-192,-0.01,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0
arduino:mbed_nano:nanorp2040connect,-94,-0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,-140,-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_nicla:nicla_vision,-64,-0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,-128,-0.01,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,,,,
arduino:mbed_opta:opta,-128,-0.01,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,-192,-0.01,0,0.0,0,0.0,0,0.0,0,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,-168,-0.01,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,-208,-0.01,0,0.0,0,0.0,0,0.0,,,,,0,0.0,0,0.0,,,,
arduino:renesas_uno:unor4wifi,-160,-0.06,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,-192,-0.07,0,0.0,0,0.0,0,0.0,,,,,,,,,,,,
arduino:samd:mkr1000,-88,-0.03,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,-144,-0.05,0,0.0,0,0.0,0,0.0,,,,,0,0.0,0,0.0,,,,
arduino:samd:mkrgsm1400,-96,-0.04,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,-144,-0.05,0,0.0,0,0.0,0,0.0,,,,,0,0.0,0,0.0,,,,
arduino:samd:mkrnb1500,-96,-0.04,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,-144,-0.05,0,0.0,0,0.0,0,0.0,,,,,0,0.0,0,0.0,,,,
arduino:samd:mkrwan1300,-208,-0.08,0,0.0,-144,-0.05,0,0.0,0,0.0,0,0.0,-152,-0.06,0,0.0,0,0.0,0,0.0,,,,,,,,,,,,
arduino:samd:mkrwifi1010,-96,-0.04,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,-144,-0.05,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:nano_33_iot,-96,-0.04,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,-144,-0.05,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
esp32:esp32:esp32,-68,-0.01,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,-100,-0.01,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,,,,,,,,
esp8266:esp8266:huzzah,-144,-0.01,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,-192,-0.02,0,0.0,0,0.0,0,0.0,,,,,,,,,,,,

Copy link

github-actions bot commented Mar 5, 2024

Memory usage change @ f617718

Board flash % RAM for global variables %
arduino:esp32:nano_nora 💚 -92 - 0 -0.0 - 0.0 0 - 0 0.0 - 0.0
arduino:mbed_edge:edge_control 💚 -192 - 0 -0.02 - 0.0 0 - 0 0.0 - 0.0
arduino:mbed_giga:giga 💚 -192 - 0 -0.01 - 0.0 0 - 0 0.0 - 0.0
arduino:mbed_nano:nanorp2040connect 💚 -140 - 0 -0.0 - 0.0 0 - 0 0.0 - 0.0
arduino:mbed_nicla:nicla_vision 💚 -128 - 0 -0.01 - 0.0 0 - 0 0.0 - 0.0
arduino:mbed_opta:opta 💚 -192 - 0 -0.01 - 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 💚 -208 - 0 -0.01 - 0.0 0 - 0 0.0 - 0.0
arduino:renesas_uno:unor4wifi 💚 -192 - 0 -0.07 - 0.0 0 - 0 0.0 - 0.0
arduino:samd:mkr1000 💚 -144 - 0 -0.05 - 0.0 0 - 0 0.0 - 0.0
arduino:samd:mkrgsm1400 💚 -144 - 0 -0.05 - 0.0 0 - 0 0.0 - 0.0
arduino:samd:mkrnb1500 💚 -144 - 0 -0.05 - 0.0 0 - 0 0.0 - 0.0
arduino:samd:mkrwan1300 💚 -208 - 0 -0.08 - 0.0 0 - 0 0.0 - 0.0
arduino:samd:mkrwifi1010 💚 -144 - 0 -0.05 - 0.0 0 - 0 0.0 - 0.0
arduino:samd:nano_33_iot 💚 -144 - 0 -0.05 - 0.0 0 - 0 0.0 - 0.0
esp32:esp32:esp32 💚 -100 - 0 -0.01 - 0.0 0 - 0 0.0 - 0.0
esp8266:esp8266:huzzah 💚 -192 - 0 -0.02 - 0.0 0 - 0 0.0 - 0.0
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 -68 -0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 -92 -0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0
arduino:mbed_edge:edge_control -128 -0.01 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 -192 -0.02 0 0.0 0 0.0 0 0.0
arduino:mbed_giga:giga -64 -0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 -192 -0.01 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0
arduino:mbed_nano:nanorp2040connect -94 -0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 -140 -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_nicla:nicla_vision -64 -0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 -128 -0.01 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0
arduino:mbed_opta:opta -128 -0.01 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 -192 -0.01 0 0.0 0 0.0 0 0.0 0 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 -168 -0.01 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 -208 -0.01 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0
arduino:renesas_uno:unor4wifi -160 -0.06 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 -192 -0.07 0 0.0 0 0.0 0 0.0
arduino:samd:mkr1000 -88 -0.03 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 -144 -0.05 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0
arduino:samd:mkrgsm1400 -96 -0.04 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 -144 -0.05 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0
arduino:samd:mkrnb1500 -96 -0.04 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 -144 -0.05 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0
arduino:samd:mkrwan1300 -208 -0.08 0 0.0 -144 -0.05 0 0.0 0 0.0 0 0.0 -152 -0.06 0 0.0 0 0.0 0 0.0
arduino:samd:mkrwifi1010 -96 -0.04 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 -144 -0.05 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:nano_33_iot -96 -0.04 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 -144 -0.05 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
esp32:esp32:esp32 -68 -0.01 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 -100 -0.01 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0
esp8266:esp8266:huzzah -144 -0.01 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 -192 -0.02 0 0.0 0 0.0 0 0.0
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,-68,-0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,-92,-0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0
arduino:mbed_edge:edge_control,-128,-0.01,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,-192,-0.02,0,0.0,0,0.0,0,0.0,,,,
arduino:mbed_giga:giga,-64,-0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,-192,-0.01,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0
arduino:mbed_nano:nanorp2040connect,-94,-0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,-140,-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_nicla:nicla_vision,-64,-0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,-128,-0.01,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,,,,
arduino:mbed_opta:opta,-128,-0.01,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,-192,-0.01,0,0.0,0,0.0,0,0.0,0,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,-168,-0.01,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,-208,-0.01,0,0.0,0,0.0,0,0.0,,,,,0,0.0,0,0.0,,,,
arduino:renesas_uno:unor4wifi,-160,-0.06,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,-192,-0.07,0,0.0,0,0.0,0,0.0,,,,,,,,,,,,
arduino:samd:mkr1000,-88,-0.03,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,-144,-0.05,0,0.0,0,0.0,0,0.0,,,,,0,0.0,0,0.0,,,,
arduino:samd:mkrgsm1400,-96,-0.04,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,-144,-0.05,0,0.0,0,0.0,0,0.0,,,,,0,0.0,0,0.0,,,,
arduino:samd:mkrnb1500,-96,-0.04,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,-144,-0.05,0,0.0,0,0.0,0,0.0,,,,,0,0.0,0,0.0,,,,
arduino:samd:mkrwan1300,-208,-0.08,0,0.0,-144,-0.05,0,0.0,0,0.0,0,0.0,-152,-0.06,0,0.0,0,0.0,0,0.0,,,,,,,,,,,,
arduino:samd:mkrwifi1010,-96,-0.04,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,-144,-0.05,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:nano_33_iot,-96,-0.04,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,-144,-0.05,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
esp32:esp32:esp32,-68,-0.01,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,-100,-0.01,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,,,,,,,,
esp8266:esp8266:huzzah,-144,-0.01,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,-192,-0.02,0,0.0,0,0.0,0,0.0,,,,,,,,,,,,

Copy link
Collaborator

@pennam pennam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@zfields I get your point, but I would love to keep the include of the example as equal as possible to the examples generated from the cloud editor. We have two differences:

  • In Make examples build on cloud web editor #412 we have moved the #include "arduino_secrets.h" from the .ino to the thingProperties.h file
  • We kept the #include <Arduino_ConnectionHandler.h> in the arduino_secrets.h file because we need to know which secrets to include.

Moreover the AIoTC_Config.h is somehow an internal configuration file and was not really ment to be included in the sketch files.

@zfields
Copy link
Contributor Author

zfields commented Mar 15, 2024

Moreover the AIoTC_Config.h is somehow an internal configuration file and was not really meant to be included in the sketch files.

It appears the internal configuration is already spilling out into the example. arduino_secrets.h is using #define variables that originate from AIoTC_Config.h (e.g. BOARD_HAS_WIFI, BOARD_HAS_SECRET_KEY, BOARD_HAS_GSM, BOARD_HAS_NB, BOARD_HAS_CATM1_NBIOT, BOARD_HAS_LORA, BOARD_HAS_ETHERNET).

I agree that parity between the cloud generated examples and the examples in the library is of the utmost importance. I thought changing it here would also change it there. I will change back the headers to match the cloud.

My only feedback, is that it is currently rather confusing to understand where variables are coming from, and how things are being put together.

@zfields zfields marked this pull request as draft March 15, 2024 13:00
@zfields zfields marked this pull request as ready for review March 15, 2024 13:10
Copy link

Memory usage change @ 68fa9e5

Board flash % RAM for global variables %
arduino:esp32:nano_nora 💚 -156 - 0 -0.0 - 0.0 0 - 0 0.0 - 0.0
arduino:mbed_edge:edge_control 💚 -256 - 0 -0.03 - 0.0 0 - 0 0.0 - 0.0
arduino:mbed_giga:giga 💚 -256 - 0 -0.01 - 0.0 0 - 0 0.0 - 0.0
arduino:mbed_nano:nanorp2040connect 💚 -188 - 0 -0.0 - 0.0 0 - 0 0.0 - 0.0
arduino:mbed_nicla:nicla_vision 💚 -192 - 0 -0.01 - 0.0 0 - 0 0.0 - 0.0
arduino:mbed_opta:opta 💚 -256 - 0 -0.01 - 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 💚 -256 - 0 -0.01 - 0.0 0 - 0 0.0 - 0.0
arduino:renesas_uno:unor4wifi 💚 -240 - 0 -0.09 - 0.0 0 - 0 0.0 - 0.0
arduino:samd:mkr1000 💚 -192 - 0 -0.07 - 0.0 0 - 0 0.0 - 0.0
arduino:samd:mkrgsm1400 💚 -192 - 0 -0.07 - 0.0 0 - 0 0.0 - 0.0
arduino:samd:mkrnb1500 💚 -192 - 0 -0.07 - 0.0 0 - 0 0.0 - 0.0
arduino:samd:mkrwan1300 💚 -208 - 0 -0.08 - 0.0 0 - 0 0.0 - 0.0
arduino:samd:mkrwifi1010 💚 -192 - 0 -0.07 - 0.0 0 - 0 0.0 - 0.0
arduino:samd:nano_33_iot 💚 -192 - 0 -0.07 - 0.0 0 - 0 0.0 - 0.0
esp32:esp32:esp32 💚 -160 - 0 -0.01 - 0.0 0 - 0 0.0 - 0.0
esp8266:esp8266:huzzah 💚 -240 - 0 -0.02 - 0.0 0 - 0 0.0 - 0.0
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 -68 -0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 -156 -0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0
arduino:mbed_edge:edge_control -128 -0.01 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 -256 -0.03 0 0.0 0 0.0 0 0.0
arduino:mbed_giga:giga -64 -0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 -256 -0.01 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0
arduino:mbed_nano:nanorp2040connect -94 -0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 -188 -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_nicla:nicla_vision -64 -0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 -192 -0.01 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0
arduino:mbed_opta:opta -128 -0.01 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 -256 -0.01 0 0.0 0 0.0 0 0.0 0 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 -168 -0.01 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 -256 -0.01 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0
arduino:renesas_uno:unor4wifi -160 -0.06 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 -240 -0.09 0 0.0 0 0.0 0 0.0
arduino:samd:mkr1000 -88 -0.03 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 -192 -0.07 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0
arduino:samd:mkrgsm1400 -96 -0.04 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 -192 -0.07 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0
arduino:samd:mkrnb1500 -96 -0.04 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 -192 -0.07 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0
arduino:samd:mkrwan1300 -208 -0.08 0 0.0 -144 -0.05 0 0.0 0 0.0 0 0.0 -160 -0.06 0 0.0 0 0.0 0 0.0
arduino:samd:mkrwifi1010 -96 -0.04 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 -192 -0.07 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:nano_33_iot -96 -0.04 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 -192 -0.07 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
esp32:esp32:esp32 -68 -0.01 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 -160 -0.01 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0
esp8266:esp8266:huzzah -144 -0.01 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 -240 -0.02 0 0.0 0 0.0 0 0.0
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,-68,-0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,-156,-0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0
arduino:mbed_edge:edge_control,-128,-0.01,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,-256,-0.03,0,0.0,0,0.0,0,0.0,,,,
arduino:mbed_giga:giga,-64,-0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,-256,-0.01,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0
arduino:mbed_nano:nanorp2040connect,-94,-0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,-188,-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_nicla:nicla_vision,-64,-0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,-192,-0.01,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,,,,
arduino:mbed_opta:opta,-128,-0.01,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,-256,-0.01,0,0.0,0,0.0,0,0.0,0,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,-168,-0.01,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,-256,-0.01,0,0.0,0,0.0,0,0.0,,,,,0,0.0,0,0.0,,,,
arduino:renesas_uno:unor4wifi,-160,-0.06,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,-240,-0.09,0,0.0,0,0.0,0,0.0,,,,,,,,,,,,
arduino:samd:mkr1000,-88,-0.03,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,-192,-0.07,0,0.0,0,0.0,0,0.0,,,,,0,0.0,0,0.0,,,,
arduino:samd:mkrgsm1400,-96,-0.04,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,-192,-0.07,0,0.0,0,0.0,0,0.0,,,,,0,0.0,0,0.0,,,,
arduino:samd:mkrnb1500,-96,-0.04,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,-192,-0.07,0,0.0,0,0.0,0,0.0,,,,,0,0.0,0,0.0,,,,
arduino:samd:mkrwan1300,-208,-0.08,0,0.0,-144,-0.05,0,0.0,0,0.0,0,0.0,-160,-0.06,0,0.0,0,0.0,0,0.0,,,,,,,,,,,,
arduino:samd:mkrwifi1010,-96,-0.04,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,-192,-0.07,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:nano_33_iot,-96,-0.04,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,-192,-0.07,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
esp32:esp32:esp32,-68,-0.01,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,-160,-0.01,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,,,,,,,,
esp8266:esp8266:huzzah,-144,-0.01,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,-240,-0.02,0,0.0,0,0.0,0,0.0,,,,,,,,,,,,

@zfields
Copy link
Contributor Author

zfields commented Mar 15, 2024

@pennam I've implemented your requested changes and rebased on the latest release (1.15.1). 👍

Copy link
Collaborator

@pennam pennam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

zfields and others added 2 commits March 30, 2024 11:23
- Remove/replace deprecated API calls
- Minimize file inclusions
- Fix whitespace
Co-authored-by: Mattia Pennasilico <m.pennasilico@arduino.cc>
Copy link

Memory usage change @ 8ae88fc

Board flash % RAM for global variables %
arduino:esp32:nano_nora 💚 -156 - 0 -0.0 - 0.0 0 - 0 0.0 - 0.0
arduino:mbed_edge:edge_control 💚 -256 - 0 -0.03 - 0.0 0 - 0 0.0 - 0.0
arduino:mbed_giga:giga 💚 -256 - 0 -0.01 - 0.0 0 - 0 0.0 - 0.0
arduino:mbed_nano:nanorp2040connect 💚 -188 - 0 -0.0 - 0.0 0 - 0 0.0 - 0.0
arduino:mbed_nicla:nicla_vision 💚 -192 - 0 -0.01 - 0.0 0 - 0 0.0 - 0.0
arduino:mbed_opta:opta 💚 -256 - 0 -0.01 - 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 💚 -256 - 0 -0.01 - 0.0 0 - 0 0.0 - 0.0
arduino:renesas_uno:unor4wifi 💚 -240 - 0 -0.09 - 0.0 0 - 0 0.0 - 0.0
arduino:samd:mkr1000 💚 -192 - 0 -0.07 - 0.0 0 - 0 0.0 - 0.0
arduino:samd:mkrgsm1400 💚 -192 - 0 -0.07 - 0.0 0 - 0 0.0 - 0.0
arduino:samd:mkrnb1500 💚 -192 - 0 -0.07 - 0.0 0 - 0 0.0 - 0.0
arduino:samd:mkrwan1300 💚 -208 - 0 -0.08 - 0.0 0 - 0 0.0 - 0.0
arduino:samd:mkrwifi1010 💚 -192 - 0 -0.07 - 0.0 0 - 0 0.0 - 0.0
arduino:samd:nano_33_iot 💚 -192 - 0 -0.07 - 0.0 0 - 0 0.0 - 0.0
esp32:esp32:esp32 💚 -160 - 0 -0.01 - 0.0 0 - 0 0.0 - 0.0
esp8266:esp8266:huzzah 💚 -240 - 0 -0.02 - 0.0 0 - 0 0.0 - 0.0
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 -68 -0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 -156 -0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0
arduino:mbed_edge:edge_control -128 -0.01 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 -256 -0.03 0 0.0 0 0.0 0 0.0
arduino:mbed_giga:giga -64 -0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 -256 -0.01 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0
arduino:mbed_nano:nanorp2040connect -94 -0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 -188 -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_nicla:nicla_vision -64 -0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 -192 -0.01 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0
arduino:mbed_opta:opta -128 -0.01 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 -256 -0.01 0 0.0 0 0.0 0 0.0 0 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 -168 -0.01 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 -256 -0.01 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0
arduino:renesas_uno:unor4wifi -160 -0.06 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 -240 -0.09 0 0.0 0 0.0 0 0.0
arduino:samd:mkr1000 -88 -0.03 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 -192 -0.07 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0
arduino:samd:mkrgsm1400 -96 -0.04 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 -192 -0.07 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0
arduino:samd:mkrnb1500 -96 -0.04 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 -192 -0.07 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0
arduino:samd:mkrwan1300 -208 -0.08 0 0.0 -144 -0.05 0 0.0 0 0.0 0 0.0 -160 -0.06 0 0.0 0 0.0 0 0.0
arduino:samd:mkrwifi1010 -96 -0.04 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 -192 -0.07 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:nano_33_iot -96 -0.04 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 -192 -0.07 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
esp32:esp32:esp32 -68 -0.01 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 -160 -0.01 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0
esp8266:esp8266:huzzah -144 -0.01 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 -240 -0.02 0 0.0 0 0.0 0 0.0
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,-68,-0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,-156,-0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0
arduino:mbed_edge:edge_control,-128,-0.01,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,-256,-0.03,0,0.0,0,0.0,0,0.0,,,,
arduino:mbed_giga:giga,-64,-0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,-256,-0.01,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0
arduino:mbed_nano:nanorp2040connect,-94,-0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,-188,-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_nicla:nicla_vision,-64,-0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,-192,-0.01,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,,,,
arduino:mbed_opta:opta,-128,-0.01,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,-256,-0.01,0,0.0,0,0.0,0,0.0,0,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,-168,-0.01,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,-256,-0.01,0,0.0,0,0.0,0,0.0,,,,,0,0.0,0,0.0,,,,
arduino:renesas_uno:unor4wifi,-160,-0.06,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,-240,-0.09,0,0.0,0,0.0,0,0.0,,,,,,,,,,,,
arduino:samd:mkr1000,-88,-0.03,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,-192,-0.07,0,0.0,0,0.0,0,0.0,,,,,0,0.0,0,0.0,,,,
arduino:samd:mkrgsm1400,-96,-0.04,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,-192,-0.07,0,0.0,0,0.0,0,0.0,,,,,0,0.0,0,0.0,,,,
arduino:samd:mkrnb1500,-96,-0.04,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,-192,-0.07,0,0.0,0,0.0,0,0.0,,,,,0,0.0,0,0.0,,,,
arduino:samd:mkrwan1300,-208,-0.08,0,0.0,-144,-0.05,0,0.0,0,0.0,0,0.0,-160,-0.06,0,0.0,0,0.0,0,0.0,,,,,,,,,,,,
arduino:samd:mkrwifi1010,-96,-0.04,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,-192,-0.07,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:nano_33_iot,-96,-0.04,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,-192,-0.07,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
esp32:esp32:esp32,-68,-0.01,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,-160,-0.01,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,,,,,,,,
esp8266:esp8266:huzzah,-144,-0.01,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,-240,-0.02,0,0.0,0,0.0,0,0.0,,,,,,,,,,,,

@zfields
Copy link
Contributor Author

zfields commented Mar 30, 2024

rebased on master

@pennam pennam merged commit 7c682b5 into arduino-libraries:master Apr 2, 2024
20 checks passed
@zfields zfields deleted the zak-examples branch April 3, 2024 00:49
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
topic: documentation Related to documentation for the project type: enhancement Proposed improvement type: imperfection Perceived defect in any part of project
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants