Commit Graph

9 Commits

Author SHA1 Message Date
Dawid Wojtas
8883bf2df5 [BH-1717] Fix no clock update
The secure RTC can lock and the clock is not updated.
To prevent this situation we reset LP registers (except for
timestamps and alarms) and clear the LVD flag. Then we
enable again LP SRTC.
2023-06-21 17:29:16 +02:00
Dawid Wojtas
ff18f17e52 [BH-1700] Add date and time to logs at the startup
Save date and time at the startup of the system for analysis purposes.
2023-05-29 10:03:27 +02:00
Lefucjusz
3a5f668c98 [BH-1583] Fix SNVS LP lockup after debugging
* Fix of the issue that manifested after
running MuditaOS on Harmony via JLink,
which resulted in OS freezing when
trying to set time in normally booted
(via the bootloader) device.
* Minor RTC code cleanup.
* Partial T6 JLink script cleanup.
2023-05-05 15:51:49 +02:00
Borys Jelenski
cbbd94719d [EGD-6605] Fix RTC time not retained between resets if set manually
When setting datetime from timestamp (manually, not from network),
SRTC is set in order to retain the RTC datetime between resets.

RTC handling was refactored in order to get rid of unnecesary
conversions and third-party code mixed with proprietary code
within a single file.
2021-05-24 04:54:02 +02:00
Kuba
d23a2f7e7d WiP elerms i event manager. 2019-07-23 13:16:04 +02:00
Kuba
317d9a1f06 Added DBAlarm messages. Working on alarm evenets. 2019-07-17 14:51:42 +02:00
Kuba
40f1f11341 Small refactor in rtc driver. Added irq in linux rtc driver. Changes in WorkerEvent. 2019-07-12 15:16:21 +02:00
Kuba
7c87083161 Pull request sugestions implemented. 2019-07-01 09:43:30 +02:00
Kuba
c3937df664 Code from NXPhone added. 2019-06-26 11:54:38 +02:00