Skip to content

WIP: uniform and reduce length of debug prints #526

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

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

pennam
Copy link
Collaborator

@pennam pennam commented Jan 28, 2025

No description provided.

Copy link

codecov bot commented Jan 28, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.39%. Comparing base (eddc451) to head (5332008).

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #526   +/-   ##
=======================================
  Coverage   95.39%   95.39%           
=======================================
  Files          33       33           
  Lines        1520     1520           
=======================================
  Hits         1450     1450           
  Misses         70       70           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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

Memory usage change @ d4b4f24

Board flash % RAM for global variables %
arduino:esp32:nano_nora 💚 -160 - -64 -0.01 - -0.0 0 - 0 0.0 - 0.0
arduino:mbed_edge:edge_control 💚 -168 - -72 -0.02 - -0.01 0 - 0 0.0 - 0.0
arduino:mbed_giga:giga 💚 -160 - 0 -0.01 - 0.0 0 - 0 0.0 - 0.0
arduino:mbed_nano:nanorp2040connect 💚 -165 - 0 -0.0 - 0.0 0 - 0 0.0 - 0.0
arduino:mbed_nicla:nicla_vision 💚 -160 - 0 -0.01 - 0.0 0 - 0 0.0 - 0.0
arduino:mbed_opta:opta 💚 -160 - 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 💚 -160 - 0 -0.01 - 0.0 0 - 0 0.0 - 0.0
arduino:renesas_uno:unor4wifi 💚 -168 - -160 -0.06 - -0.06 0 - 0 0.0 - 0.0
arduino:samd:mkr1000 💚 -168 - 0 -0.06 - 0.0 0 - 0 0.0 - 0.0
arduino:samd:mkrgsm1400 💚 -160 - 0 -0.06 - 0.0 0 - 0 0.0 - 0.0
arduino:samd:mkrnb1500 💚 -160 - 0 -0.06 - 0.0 0 - 0 0.0 - 0.0
arduino:samd:mkrwan1300 💚 -160 - -16 -0.06 - -0.01 0 - 0 0.0 - 0.0
arduino:samd:mkrwifi1010 💚 -160 - 0 -0.06 - 0.0 0 - 0 0.0 - 0.0
arduino:samd:nano_33_iot 💚 -160 - 0 -0.06 - 0.0 0 - 0 0.0 - 0.0
esp32:esp32:esp32 💚 -176 - -64 -0.01 - -0.0 0 - 0 0.0 - 0.0
esp8266:esp8266:huzzah 💚 -76 - -72 -0.01 - -0.01 💚 -84 - -68 -0.1 - -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/ArduinoIoTCloud-Notecard
flash
% examples/ArduinoIoTCloud-Notecard
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 -80 -0.0 0 0.0 -80 -0.0 0 0.0 -64 -0.0 0 0.0 -80 -0.0 0 0.0 -80 -0.0 0 0.0 -80 -0.0 0 0.0 -160 -0.01 0 0.0
arduino:mbed_edge:edge_control -72 -0.01 0 0.0 -72 -0.01 0 0.0 -80 -0.01 0 0.0 -80 -0.01 0 0.0 -80 -0.01 0 0.0 -168 -0.02 0 0.0
arduino:mbed_giga:giga -136 -0.01 0 0.0 -136 -0.01 0 0.0 -136 -0.01 0 0.0 -136 -0.01 0 0.0 -136 -0.01 0 0.0 -136 -0.01 0 0.0 -160 -0.01 0 0.0 0 0.0 0 0.0
arduino:mbed_nano:nanorp2040connect -135 -0.0 0 0.0 -135 -0.0 0 0.0 -135 -0.0 0 0.0 -135 -0.0 0 0.0 -135 -0.0 0 0.0 -135 -0.0 0 0.0 -165 -0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0
arduino:mbed_nicla:nicla_vision -136 -0.01 0 0.0 -128 -0.01 0 0.0 -136 -0.01 0 0.0 -128 -0.01 0 0.0 -128 -0.01 0 0.0 -136 -0.01 0 0.0 -160 -0.01 0 0.0 0 0.0 0 0.0
arduino:mbed_opta:opta -136 -0.01 0 0.0 -136 -0.01 0 0.0 -136 -0.01 0 0.0 -136 -0.01 0 0.0 -136 -0.01 0 0.0 -136 -0.01 0 0.0 -160 -0.01 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 N/A N/A N/A N/A
arduino:renesas_portenta:portenta_c33 -136 -0.01 0 0.0 -128 -0.01 0 0.0 -136 -0.01 0 0.0 -136 -0.01 0 0.0 -128 -0.01 0 0.0 -160 -0.01 0 0.0 0 0.0 0 0.0
arduino:renesas_uno:unor4wifi -168 -0.06 0 0.0 -168 -0.06 0 0.0 -160 -0.06 0 0.0 -160 -0.06 0 0.0 -168 -0.06 0 0.0 -168 -0.06 0 0.0
arduino:samd:mkr1000 -128 -0.05 0 0.0 -136 -0.05 0 0.0 -128 -0.05 0 0.0 -136 -0.05 0 0.0 -136 -0.05 0 0.0 -168 -0.06 0 0.0 0 0.0 0 0.0
arduino:samd:mkrgsm1400 -136 -0.05 0 0.0 -128 -0.05 0 0.0 -136 -0.05 0 0.0 -136 -0.05 0 0.0 -136 -0.05 0 0.0 -160 -0.06 0 0.0 0 0.0 0 0.0
arduino:samd:mkrnb1500 -136 -0.05 0 0.0 -128 -0.05 0 0.0 -136 -0.05 0 0.0 -136 -0.05 0 0.0 -136 -0.05 0 0.0 -160 -0.06 0 0.0 0 0.0 0 0.0
arduino:samd:mkrwan1300 -16 -0.01 0 0.0 -16 -0.01 0 0.0 -16 -0.01 0 0.0 -16 -0.01 0 0.0 -16 -0.01 0 0.0 -160 -0.06 0 0.0
arduino:samd:mkrwifi1010 -152 -0.06 0 0.0 -152 -0.06 0 0.0 -152 -0.06 0 0.0 -152 -0.06 0 0.0 -152 -0.06 0 0.0 -152 -0.06 0 0.0 -160 -0.06 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0
arduino:samd:nano_33_iot -152 -0.06 0 0.0 -152 -0.06 0 0.0 -152 -0.06 0 0.0 -152 -0.06 0 0.0 -152 -0.06 0 0.0 -152 -0.06 0 0.0 -160 -0.06 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 -64 -0.0 0 0.0 -80 -0.01 0 0.0 -64 -0.0 0 0.0 -176 -0.01 0 0.0
esp8266:esp8266:huzzah -72 -0.01 -80 -0.1 -76 -0.01 -76 -0.09 -76 -0.01 -68 -0.08 -76 -0.01 -84 -0.1 -76 -0.01 -84 -0.1
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/ArduinoIoTCloud-Notecard<br>flash,%,examples/ArduinoIoTCloud-Notecard<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,-80,-0.0,0,0.0,-80,-0.0,0,0.0,-64,-0.0,0,0.0,-80,-0.0,0,0.0,-80,-0.0,0,0.0,-80,-0.0,0,0.0,-160,-0.01,0,0.0
arduino:mbed_edge:edge_control,-72,-0.01,0,0.0,-72,-0.01,0,0.0,-80,-0.01,0,0.0,-80,-0.01,0,0.0,-80,-0.01,0,0.0,,,,,-168,-0.02,0,0.0
arduino:mbed_giga:giga,-136,-0.01,0,0.0,-136,-0.01,0,0.0,-136,-0.01,0,0.0,-136,-0.01,0,0.0,-136,-0.01,0,0.0,-136,-0.01,0,0.0,-160,-0.01,0,0.0,0,0.0,0,0.0
arduino:mbed_nano:nanorp2040connect,-135,-0.0,0,0.0,-135,-0.0,0,0.0,-135,-0.0,0,0.0,-135,-0.0,0,0.0,-135,-0.0,0,0.0,-135,-0.0,0,0.0,-165,-0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0
arduino:mbed_nicla:nicla_vision,-136,-0.01,0,0.0,-128,-0.01,0,0.0,-136,-0.01,0,0.0,-128,-0.01,0,0.0,-128,-0.01,0,0.0,-136,-0.01,0,0.0,-160,-0.01,0,0.0,0,0.0,0,0.0,,,,
arduino:mbed_opta:opta,-136,-0.01,0,0.0,-136,-0.01,0,0.0,-136,-0.01,0,0.0,-136,-0.01,0,0.0,-136,-0.01,0,0.0,-136,-0.01,0,0.0,-160,-0.01,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,N/A,N/A,N/A,N/A,,,,
arduino:renesas_portenta:portenta_c33,-136,-0.01,0,0.0,-128,-0.01,0,0.0,-136,-0.01,0,0.0,-136,-0.01,0,0.0,-128,-0.01,0,0.0,,,,,-160,-0.01,0,0.0,0,0.0,0,0.0,,,,
arduino:renesas_uno:unor4wifi,-168,-0.06,0,0.0,-168,-0.06,0,0.0,-160,-0.06,0,0.0,-160,-0.06,0,0.0,-168,-0.06,0,0.0,,,,,-168,-0.06,0,0.0,,,,,,,,
arduino:samd:mkr1000,-128,-0.05,0,0.0,-136,-0.05,0,0.0,-128,-0.05,0,0.0,-136,-0.05,0,0.0,-136,-0.05,0,0.0,,,,,-168,-0.06,0,0.0,0,0.0,0,0.0,,,,
arduino:samd:mkrgsm1400,-136,-0.05,0,0.0,-128,-0.05,0,0.0,-136,-0.05,0,0.0,-136,-0.05,0,0.0,-136,-0.05,0,0.0,,,,,-160,-0.06,0,0.0,0,0.0,0,0.0,,,,
arduino:samd:mkrnb1500,-136,-0.05,0,0.0,-128,-0.05,0,0.0,-136,-0.05,0,0.0,-136,-0.05,0,0.0,-136,-0.05,0,0.0,,,,,-160,-0.06,0,0.0,0,0.0,0,0.0,,,,
arduino:samd:mkrwan1300,-16,-0.01,0,0.0,-16,-0.01,0,0.0,-16,-0.01,0,0.0,-16,-0.01,0,0.0,-16,-0.01,0,0.0,,,,,-160,-0.06,0,0.0,,,,,,,,
arduino:samd:mkrwifi1010,-152,-0.06,0,0.0,-152,-0.06,0,0.0,-152,-0.06,0,0.0,-152,-0.06,0,0.0,-152,-0.06,0,0.0,-152,-0.06,0,0.0,-160,-0.06,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0
arduino:samd:nano_33_iot,-152,-0.06,0,0.0,-152,-0.06,0,0.0,-152,-0.06,0,0.0,-152,-0.06,0,0.0,-152,-0.06,0,0.0,-152,-0.06,0,0.0,-160,-0.06,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,-64,-0.0,0,0.0,-80,-0.01,0,0.0,-64,-0.0,0,0.0,-176,-0.01,0,0.0,,,,,,,,
esp8266:esp8266:huzzah,-72,-0.01,-80,-0.1,-76,-0.01,-76,-0.09,-76,-0.01,-68,-0.08,-76,-0.01,-84,-0.1,-76,-0.01,-84,-0.1,,,,,,,,,,,,,,,,

# for free to join this conversation on GitHub. Already have an account? # 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.

2 participants