[MOS-226] Moved algorithms and their data to separate classes
This way we have controll over what does what, and can test
them separatelly
Logging statistics update more and better data presented
[MOS-245] Fix errant spaces
It appears in the past a major edit was made but had used a regex to
change some text which resulted in an errant space between the
enumuneration/struct/class name and the scope resolution operator.
These errant spaces have been removed.
[MOS-110] Statistics api for system
Gets data from freertos and prints on frequency change depending
if it's important. Gathering is not costly, printing is though.
For less intrusive checks I would rather disable names gathering
as in worst case scenario it hangs rtos context switching till
thread id is found.
[MOS-109] Add current measurement scope
added current measurement transfer over logs to plot
it on PC side
[MOS-114] CPU frequency scalling improvements
Add minimal frequency ~4Mhz, more aggressive CPU freq
optimizations.
Signed-off-by: Lucjan Bryndza <lucjan.bryndza@mudita.com>
[CP-1007] Add API for rebooting to USB MSC mode
It will allow to reboot the device to USB MSC mode
without need to interact with a physical keyboard.
[EGD-7956] Fix DMA issue on tx modem data
Fix DMA issue on tx modem data
Signed-off-by: Lucjan Bryndza <lucjan.bryndza@mudita.com>
[EGD-8191] Magnetometer deinitialisation
We stop reading from the magnetometer
during the system shutdown procedure
[EGD-8141] Fix brownout handling while charging
When the voltage dropped below the brownout threshold,
the system did not detect the battery charging
and displayed a window with the low battery icon all the time.
[EGD-8129] Add atexit functionality
Added atexit functionality. All global destructors and functions
registered with atexit() should be called at program exit.
It was possbile to reuse original newlib implementation with
MALLOC_PROVIDED flag set.
Made sure logger destructructor is called as last one.
Due to mudita OS legacy, it was not possible to simply fix dependencies
in global objectes and hence there are neither global objects
destructors nor functions registered with atexit() called when exit()
is called.
Possibly it will be changed later.
[EGD-8131] Add Reboot/Poweroff for _platform_exit()
Add support for Reboot and Power off for the
_platform_exit code.
Add _platform_exit mode handle
Signed-off-by: Lucjan Bryndza <lucjan.bryndza@mudita.com>
[EGD-7860] Fix for call error flow
Make sure it is not possible to request a call twice.
Added new error windows for general call error and
no network connection.
Make sure there are no issues when call is requested
from external app e.g. from callog or phonebook.
Merge remote-tracking branch 'origin/stable'
[EGD-8079] CPU frequency conversion PWM fix
Fixed CPU frequency conversion.
[EGD-7922] Added Permanent Frequency Setting
Added Permanent Frequency setting in Advanced Developer
Mode with simple set window.
[BH-1277] Fix critical battery flow
Removed handling of critical battery level from bell's
home screen. From now on, battery SOC can drop to 1%
(battery notification will change from showing 1 bar to
crossed battery symbol upon reaching <5% SOC). If it drops
any further system shutdown procedure is invoked which results
in the device being turned off.
Merge remote-tracking branch 'origin/stable'
[BH-1274] Update fuel gauge
Update fuel gauge params
Merge remote-tracking branch 'origin/stable'