[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.
[MOS-997] Fix failing sync with Mudita Center
Fix of the issue that sync with Mudita Center
would fail often after changes introduced in
CP-1968.
[MOS-238] Use on-chip hardware TRNG as an entropy source
Use hardware TRNG integrated into RT1051 MCU
as an entropy source for builds complied
for RT1051.
[BH-1706] Fix inaccessible MTP on Harmony
Fix of the issue that Harmony's MTP
was constantly locked after MOS-686
fix, as the mechanics of unlocking
was not handled for Harmony at all.
[BH-1702] Fix RTWDOG main DCDC reset
Fix of the issue that RTWDOG performed
only CPU reset in case of timeout due
to IRQ misconfiguration resulting in
RTWDOG handler not being called.
[BH-1673] Fixes for Harmony random resets
Next part of Harmony random resets fixes:
* added RC OSC startup delay as in newest lpm.c;
* changed order of clock source, oscillator and
LDO switching;
* removed connecting internal DCDC load resistor,
as it is only required to speed up converter
startup after it was turned off completely;
* changed DCDC operation mode to continuous
conduction;
* set low VDD_SOC_IN voltage back to 950mV as
suggested in RM.
* added switching DCDC converter mode to
discontinuous conduction for two lowest CPU
clock frequencies, as using CCM mode resulted
in very high current consumption that would
shorten Harmony's life on battery
significantly.
[BH-1700] Add date and time to logs at the startup
Save date and time at the startup of the system for analysis purposes.
[MOS-686] Fixed MTP availability only after phone unlocked
Fixed file access via MTP even when phone is not unlocked.
Now access is granted when the phone is unlocked by the user entering
a passcode. If the phone is not passcode protected (passcode is nor set)
then access to the files is always possible via MTP.
[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.
[BH-1595] USB charger detection issues
* Fixed issues with USB charging port detection
* Fixed memory leak in usb_stack/OS integration layer
* Fixed incorrect handling of software timer
* Minor cleaning/refactor.
[BH-1595] Turned off USB/PC charging
Charging enabled only for a dedicated charger. Users won't be able
to charger while connected to the PC.
[MOS-981] Magnetometer driver cleanup
Cleanup of the magnetometer driver.
Added checks of all I2C operations
return codes and error messages
in case of failures.
[BH-1661] E-ink display power management tweaks
Tweaks and changes required to optimize
power consumption for Harmony.
[MOS-903] Remove reboot to USB MSC mode
Remove mechanics enabling to perform reboot
to MSC mode by sending request to one of the
endpoints via serial port, as it is not
implemented in bootloader and may potentially
be unsafe.
[MOS-786] A/B Booting - fixed factory reset from menu
Now factory reset works both from ecoboot and from menu
[MOS-786] Added support for A/B boot codes in OS
Further implementation of A/B booting
[CP-1424] Refactor backup and restore endpoints
Redesign of backup and restore endpoints in the
service-desktop to delegate responsibility for
execution of the actual backup and restore process
onto the Updater.
[CP-1665] Adding an information about device colour to USB descriptor
Getting information about device colour and changing it to number.
Pass information about device colour to usb_stack.
Set a bcdDevice with the corresponding value.
[MOS-686] Fix the accessibility of user files by MTP
User files accessible via MTP only if phone is unlocked
[CP-1560] MTP root path
Make MTP root path configurable.