arduino-libraries / RTCZero

RTC Library for SAMD21 based boards
http://arduino.cc/en/Reference/RTC
GNU Lesser General Public License v2.1
76 stars 79 forks source link

Add getAlarmEpoch() method and fix warning on compiling with oldTime.RTC_MODE2_CLOCK_Type::reg #82

Open JeromeBriot opened 2 years ago

JeromeBriot commented 2 years ago

Add getAlarmEpoch() method : https://github.com/arduino-libraries/RTCZero/issues/60

Fix warning on compiling with oldTime.RTC_MODE2_CLOCK_Type::reg : https://github.com/arduino-libraries/RTCZero/issues/67

CLAassistant commented 2 years ago

CLA assistant check
All committers have signed the CLA.

JeromeBriot commented 2 years ago

I forgot to add getAlarmEpoch in keywords.txt

github-actions[bot] commented 2 years ago

Memory usage change @ 06db30fab095da20761c3d6a4523ab0e15cfcad6

Board flash % RAM for global variables %
arduino:samd:arduino_zero_edbg :small_red_triangle: +4 - +12 0.0 - 0.0 0 - 0 0.0 - 0.0
arduino:samd:mkr1000 :small_red_triangle: +4 - +12 0.0 - 0.0 0 - 0 0.0 - 0.0
arduino:samd:mkrfox1200 :small_red_triangle: +4 - +12 0.0 - 0.0 0 - 0 0.0 - 0.0
arduino:samd:mkrgsm1400 :small_red_triangle: +4 - +12 0.0 - 0.0 0 - 0 0.0 - 0.0
arduino:samd:mkrnb1500 :small_red_triangle: +4 - +12 0.0 - 0.0 0 - 0 0.0 - 0.0
arduino:samd:mkrvidor4000 :small_red_triangle: +4 - +12 0.0 - 0.0 0 - 0 0.0 - 0.0
arduino:samd:mkrwan1300 :small_red_triangle: +4 - +12 0.0 - 0.0 0 - 0 0.0 - 0.0
arduino:samd:mkrwan1310 :small_red_triangle: +4 - +12 0.0 - 0.0 0 - 0 0.0 - 0.0
arduino:samd:mkrwifi1010 :small_red_triangle: +4 - +12 0.0 - 0.0 0 - 0 0.0 - 0.0
arduino:samd:mkrzero :small_red_triangle: +4 - +12 0.0 - 0.0 0 - 0 0.0 - 0.0
arduino:samd:nano_33_iot :small_red_triangle: 0 - +8 0.0 - 0.0 0 - 0 0.0 - 0.0
Click for full report table Board|examples/Epoch
flash|%|examples/Epoch
RAM for global variables|%|examples/SimpleRTC
flash|%|examples/SimpleRTC
RAM for global variables|%|examples/SimpleRTCAlarm
flash|%|examples/SimpleRTCAlarm
RAM for global variables|%|examples/SleepRTCAlarm
flash|%|examples/SleepRTCAlarm
RAM for global variables|% -|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|- arduino:samd:arduino_zero_edbg|4|0.0|0|0.0|12|0.0|0|0.0|12|0.0|0|0.0|12|0.0|0|0.0 arduino:samd:mkr1000|4|0.0|0|0.0|12|0.0|0|0.0|12|0.0|0|0.0|12|0.0|0|0.0 arduino:samd:mkrfox1200|4|0.0|0|0.0|12|0.0|0|0.0|12|0.0|0|0.0|12|0.0|0|0.0 arduino:samd:mkrgsm1400|4|0.0|0|0.0|12|0.0|0|0.0|12|0.0|0|0.0|12|0.0|0|0.0 arduino:samd:mkrnb1500|4|0.0|0|0.0|12|0.0|0|0.0|12|0.0|0|0.0|12|0.0|0|0.0 arduino:samd:mkrvidor4000|4|0.0|0|0.0|12|0.0|0|0.0|12|0.0|0|0.0|12|0.0|0|0.0 arduino:samd:mkrwan1300|4|0.0|0|0.0|12|0.0|0|0.0|12|0.0|0|0.0|12|0.0|0|0.0 arduino:samd:mkrwan1310|4|0.0|0|0.0|12|0.0|0|0.0|12|0.0|0|0.0|12|0.0|0|0.0 arduino:samd:mkrwifi1010|4|0.0|0|0.0|12|0.0|0|0.0|12|0.0|0|0.0|12|0.0|0|0.0 arduino:samd:mkrzero|4|0.0|0|0.0|12|0.0|0|0.0|12|0.0|0|0.0|12|0.0|0|0.0 arduino:samd:nano_33_iot|0|0.0|0|0.0|8|0.0|0|0.0|8|0.0|0|0.0|8|0.0|0|0.0
Click for full report CSV ``` Board,examples/Epoch
flash,%,examples/Epoch
RAM for global variables,%,examples/SimpleRTC
flash,%,examples/SimpleRTC
RAM for global variables,%,examples/SimpleRTCAlarm
flash,%,examples/SimpleRTCAlarm
RAM for global variables,%,examples/SleepRTCAlarm
flash,%,examples/SleepRTCAlarm
RAM for global variables,% arduino:samd:arduino_zero_edbg,4,0.0,0,0.0,12,0.0,0,0.0,12,0.0,0,0.0,12,0.0,0,0.0 arduino:samd:mkr1000,4,0.0,0,0.0,12,0.0,0,0.0,12,0.0,0,0.0,12,0.0,0,0.0 arduino:samd:mkrfox1200,4,0.0,0,0.0,12,0.0,0,0.0,12,0.0,0,0.0,12,0.0,0,0.0 arduino:samd:mkrgsm1400,4,0.0,0,0.0,12,0.0,0,0.0,12,0.0,0,0.0,12,0.0,0,0.0 arduino:samd:mkrnb1500,4,0.0,0,0.0,12,0.0,0,0.0,12,0.0,0,0.0,12,0.0,0,0.0 arduino:samd:mkrvidor4000,4,0.0,0,0.0,12,0.0,0,0.0,12,0.0,0,0.0,12,0.0,0,0.0 arduino:samd:mkrwan1300,4,0.0,0,0.0,12,0.0,0,0.0,12,0.0,0,0.0,12,0.0,0,0.0 arduino:samd:mkrwan1310,4,0.0,0,0.0,12,0.0,0,0.0,12,0.0,0,0.0,12,0.0,0,0.0 arduino:samd:mkrwifi1010,4,0.0,0,0.0,12,0.0,0,0.0,12,0.0,0,0.0,12,0.0,0,0.0 arduino:samd:mkrzero,4,0.0,0,0.0,12,0.0,0,0.0,12,0.0,0,0.0,12,0.0,0,0.0 arduino:samd:nano_33_iot,0,0.0,0,0.0,8,0.0,0,0.0,8,0.0,0,0.0,8,0.0,0,0.0 ```