[BH-1688] Create a standard for logs * Adding document describing how to use logger * Adjusting logs to follow a new guide * Change order in log header: line number is now before function name
[MOS-669] Add too hot battery notification when charging * Added notification showing on the main screen if the battery has reached too high temperature to continue charging. * Code cleanups.
[MOS-1011] Fix frequency switching stability Multiple fixes of clock switching related stability issues: * added RC oscillator hysteresis as in NXP example; * changed DCDC converter config; * configure PLL2 to be able to run on any CPU frequency level; * added switching to 1.275V (overdrive) voltage when applying any clock change above 12MHz as well as LDO or bandgap switching, as done in Mbed OS' lpm.c for RT1050; * changed BMCR AXI queues weighs for SDRAM in JLink scripts to disable operations reordering, as it is known to cause data integrity issues; * extracted some code to separate files; * smaller or bigger code cleanups.
[MOS-1012] Fix occasional crash when unplugging Pure from PC Fix of the unhandled error issue that resulted in occasional device crash when disconnecting from PC with MC app running.
[BH-1714] Eink refactor and error handling Cleanup and refactor for eink code. Changed turning on/off procedure. Add error handling.
[MOS-599] Fix undefined phone mode in simulator Fix of the issue that on simulator phone mode was in 'undefined' state, what resulted in no phone mode selected in settings.
[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-1701] Add extended user heap statistics for debugging Added extended statistics to help track potential memory leaks: * used user heap size per task * number of successful allocations * number of successful frees
[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-1595] USB reset procedure * Fixed incorrect reset procedure * Minor refactor
[BH-1630] Turn off the device for low voltage The system closes only if the SoC is 0%, but it doesn't react if the voltage has low level. The new implementation invokes the close procedure if the voltage is less than 3.4V. This solution should avoid possiblity to hang the MCU.
[BH-1649] Reimplement I2C communication attempts The CW2015 driver should avoid any logic. Thus I2C communication attempts were moved to the BatteryCharger which is product specific.
[MOS-887] Fix black screen left after power off Fix of the issue that after powering off the phone with dark mode enabled the screen remained black instead of being cleared to white.
[MOS-786] Added support for A/B boot codes in OS Further implementation of A/B booting
[MOS-820] Fix crashes caused by plugging the charger The deleting of the USBLinuxReceive task has been added in the USB stack de-initialization process to avoid creating multiple instances during next initializations.
[MOS-775] Create run-time statistics for tasks Every hour, statistics of tasks that put a heavy load on the CPU will be logged