Skip to content

Conversation

@pennam
Copy link
Collaborator

@pennam pennam commented May 25, 2022

After #317 and #302 i thought to cleanup TimeService class before proceeding with other developments.

pennam added 20 commits May 24, 2022 11:24
  If board has RTC use getRTC() to retrive time, otherwise always use getRemoteTime()
  Check for valid time before return, if not valid return EPOCH_AT_COMPILE_TIME
  TCP  BOARDS: During RTC configuration we don't want to store EPOCH_AT_COMPILE_TIME into RTC register otherwise internal time will be wrong and scheduler wont work.
  LORA BOARDS: This check is not performed for LORA BOARDS since we don't have a valid timesource
@per1234 per1234 added type: enhancement Proposed improvement topic: code Related to content of the project itself labels May 25, 2022
@github-actions
Copy link

Memory usage change @ 5132d2b

Board flash % RAM for global variables %
arduino:mbed:envie_m7 ❔ -80 - +80 -0.01 - +0.01 0 - 0 0.0 - 0.0
arduino:mbed_nano:nanorp2040connect 🔺 0 - +98 0.0 - 0.0 0 - 0 0.0 - 0.0
arduino:mbed_nicla:nicla_vision ❔ -80 - +144 -0.01 - +0.02 0 - 0 0.0 - 0.0
arduino:samd:mkrgsm1400 ❔ -8 - +136 -0.0 - +0.05 0 - 0 0.0 - 0.0
arduino:samd:mkrnb1500 ❔ -8 - +136 -0.0 - +0.05 0 - 0 0.0 - 0.0
arduino:samd:mkrwan1300 🔺 +72 - +80 +0.03 - +0.03 💚 -8 - -8 -0.02 - -0.02
arduino:samd:mkrwifi1010 ❔ -8 - +136 -0.0 - +0.05 0 - 0 0.0 - 0.0
arduino:samd:nano_33_iot ❔ -8 - +136 -0.0 - +0.05 0 - 0 0.0 - 0.0
esp32:esp32:esp32 💚 -892 - -872 -0.07 - -0.07 💚 -32 - -32 -0.01 - -0.01
esp8266:esp8266:huzzah 💚 -188 - -172 -0.02 - -0.02 💚 -132 - -112 -0.16 - -0.14
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/utility/ArduinoIoTCloud_Travis_CI
flash
% examples/utility/ArduinoIoTCloud_Travis_CI
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:mbed:envie_m7 -80 -0.01 0 0.0 -8 -0.0 0 0.0 -72 -0.01 0 0.0 80 0.01 0 0.0
arduino:mbed_nano:nanorp2040connect 44 0.0 0 0.0 44 0.0 0 0.0 44 0.0 0 0.0 98 0.0 0 0.0 0 0.0 0 0.0
arduino:mbed_nicla:nicla_vision -80 -0.01 0 0.0 -16 -0.0 0 0.0 -16 -0.0 0 0.0 144 0.02 0 0.0
arduino:samd:mkrgsm1400 -8 -0.0 0 0.0 -8 -0.0 0 0.0 -8 -0.0 0 0.0 136 0.05 0 0.0
arduino:samd:mkrnb1500 -8 -0.0 0 0.0 -8 -0.0 0 0.0 -8 -0.0 0 0.0 136 0.05 0 0.0
arduino:samd:mkrwan1300 80 0.03 -8 -0.02 72 0.03 -8 -0.02 72 0.03 -8 -0.02
arduino:samd:mkrwifi1010 -8 -0.0 0 0.0 -8 -0.0 0 0.0 -8 -0.0 0 0.0 136 0.05 0 0.0 0 0.0 0 0.0
arduino:samd:nano_33_iot -8 -0.0 0 0.0 -8 -0.0 0 0.0 -8 -0.0 0 0.0 136 0.05 0 0.0 0 0.0 0 0.0
esp32:esp32:esp32 -872 -0.07 -32 -0.01 -872 -0.07 -32 -0.01 -892 -0.07 -32 -0.01
esp8266:esp8266:huzzah -172 -0.02 -132 -0.16 -184 -0.02 -112 -0.14 -188 -0.02 -116 -0.14
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/utility/ArduinoIoTCloud_Travis_CI<br>flash,%,examples/utility/ArduinoIoTCloud_Travis_CI<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:mbed:envie_m7,-80,-0.01,0,0.0,-8,-0.0,0,0.0,-72,-0.01,0,0.0,80,0.01,0,0.0
arduino:mbed_nano:nanorp2040connect,44,0.0,0,0.0,44,0.0,0,0.0,44,0.0,0,0.0,98,0.0,0,0.0,0,0.0,0,0.0
arduino:mbed_nicla:nicla_vision,-80,-0.01,0,0.0,-16,-0.0,0,0.0,-16,-0.0,0,0.0,144,0.02,0,0.0,,,,
arduino:samd:mkrgsm1400,-8,-0.0,0,0.0,-8,-0.0,0,0.0,-8,-0.0,0,0.0,136,0.05,0,0.0,,,,
arduino:samd:mkrnb1500,-8,-0.0,0,0.0,-8,-0.0,0,0.0,-8,-0.0,0,0.0,136,0.05,0,0.0,,,,
arduino:samd:mkrwan1300,80,0.03,-8,-0.02,72,0.03,-8,-0.02,72,0.03,-8,-0.02,,,,,,,,
arduino:samd:mkrwifi1010,-8,-0.0,0,0.0,-8,-0.0,0,0.0,-8,-0.0,0,0.0,136,0.05,0,0.0,0,0.0,0,0.0
arduino:samd:nano_33_iot,-8,-0.0,0,0.0,-8,-0.0,0,0.0,-8,-0.0,0,0.0,136,0.05,0,0.0,0,0.0,0,0.0
esp32:esp32:esp32,-872,-0.07,-32,-0.01,-872,-0.07,-32,-0.01,-892,-0.07,-32,-0.01,,,,,,,,
esp8266:esp8266:huzzah,-172,-0.02,-132,-0.16,-184,-0.02,-112,-0.14,-188,-0.02,-116,-0.14,,,,,,,,

@pennam
Copy link
Collaborator Author

pennam commented Feb 16, 2023

superseded by #353

@pennam pennam closed this Feb 16, 2023
@per1234 per1234 added the conclusion: duplicate Has already been submitted label Feb 16, 2023
@pennam pennam deleted the time_service_update branch May 17, 2024 09:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

conclusion: duplicate Has already been submitted 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