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.
Updated FreeRTOS source code to 10.4.6.
Moved FreeRTOS sources to the third-party directory.
Added necessary changes to the CMake configuration.
Split FreeRTOSConfig.h. From now, each board has its own.
Added missing log headers.
Minor refactor of the module-os cmake.
Fixed stack overflows in bell application main and time service.
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.
Split module-utils into smaller components for better dependency
management. Fix many dependencies throughout the project.
Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com>
Remove system dependency from charger driver implementation. Remove
circular, lambda driven dependency between charger and brownout
detector. Remove event manager dependency in driver as well.
Encapsulate some of charger logic in introduced battery controller.
Extract path configuration to the separate target to decouple charger
from vfs middleware.
Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com>