Break circular dependencies in the BSP module. Fix some missing
dependencies which surfaced after fixing BSP.
Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com>
Improve structure of the module sys. Problems within this module
prevents from linking others.
Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com>
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>
Customize screen resolution depending on which product is selected.
Screen resolutions for hardware boards are fixed by design.
Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com>
Remove obsolete target dependencies across modules.
Remove 'cross' and 'unittests' targets.
Refactor some remaining target dependencies to use board include macro.
Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com>
Because update procedure it is splitted to the two stages
downloading and update throught separate binary we need
to pass ecoboot special flag to request reboot to updater
bin after update procedure.
This patch adds this functionality to the PureOS.
Signed-off-by: Lucjan Bryndza <lucjan.bryndza@mudita.com>
To be able to properly operate with the slider under every
circumstance the polling mode has to be restored. It's related
to the bug in the magnetometer chip, which is not described in the
datasheet.
This reverts commit 744eef1d9b with
few small fixes
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.
- Removed not used files from old implementations.
- Renamed some classes to follow naming convention.
- Renamed methods to use consistent styling.
- Restructured code.
To be able to reduce the power usage of the phone, magnetometer
has been switched into interrupt driven LPDCM mode. Added some
fixups maintaining current behavior on startup and disabling
the tethering mode