Commit Graph

266 Commits

Author SHA1 Message Date
Kuba
69cf2575cc [EGD-7909] Fixed phone mode switching
Service cellular is holding minimum cpu frequency during
phone mode switch.
2021-11-19 16:43:00 +01:00
Alek Rudnik
65d67e2690 [EGD-7948] Extend log dumping
Log are now dumped:
* on system shutdown including hard faults and aborts
* every 5 minutes

Fixed some logs
2021-11-16 17:56:28 +01:00
Alek Rudnik
1666429e07 [EGD-7584] Fix OS factory reset
There was an issue that we were deleting files which were still open.
Added removed of FI .indexed file.
2021-11-02 16:45:04 +01:00
Kuba
1ab84f774f [EGD-7720] Unmounting file system on system closure
Make sure file system is properly unmounted on gentle system
shut down.
2021-10-20 14:38:08 +02:00
Wojtek Rzepecki
6e69eb6aa6 [BH-990] Adjist CPU frequency chages
Adjusted Bell frequency low-power mode changes
2021-10-15 13:22:43 +02:00
Piotr Tański
8e056fda93 [EGD-7205] Tethering can not be enabled in offline mode
The tethering should not be enabled in offline mode.
2021-10-14 09:25:04 +02:00
Piotr Tański
1d2f5cf7a4 [EGD-7754] Dates bumped in disclaimers
Dates bumped from 2020 to 2021.
2021-10-11 19:08:26 +02:00
Paweł Joński
d6ef922d26 [BH-958] Set info screen on critical battery turnoff
Set info screen on critical battery turnoff
2021-10-11 11:10:50 +02:00
Marcin Smoczyński
1f9109b924 [BH-819] Fix illegal dependencies in bsp
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>
2021-09-27 17:27:21 +02:00
Marcin Smoczyński
57874cab33 [BH-912] Improve sys module structure
Improve structure of the module sys. Problems within this module
prevents from linking others.

Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com>
2021-09-24 10:01:19 +02:00
Marcin Smoczyński
bd90e57516 [BH-907] Split utils module into components
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>
2021-09-23 15:14:40 +02:00
Maciej Gibowicz
8534d9abe9 [EGD-7563] Hold minimum CPU frequency for logs dump
During the log dump, we wake up the CPU to 66 MHz
instead of the maximum frequency.
2021-09-22 13:17:28 +02:00
Piotr Tański
4175025f36 [EGD-776] PreWakeUp chime
Added a prewakeup chime handler.
2021-09-22 11:30:54 +02:00
Marcin Smoczyński
958ce4906c [BH-897] Split module-sys
Split system module to better manage dependencies between system
components.

Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com>
2021-09-21 16:11:59 +02:00
Artur Śleszyński
b15006a94c [CP-564] Make desktop endpoints a separate lib
In order to have different sets of endpoints for different products,
we need to separate endpoints from the desktop service.
2021-09-21 10:41:37 +02:00
Marcin Smoczyński
e6db00cb0c [EGD-7486] Increase stack sizes
Increase stack sizes of the eink service and the system watchdog. During
stability tests stack-overflows were observed for both threads.

Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com>
(cherry picked from commit f9a23a7b58)
2021-09-15 19:18:58 +02:00
Piotr Tański
bdbda7fd96 [EGD-776] Bell-specific AlarmOperations
We need a separate alarm operations for the Bell.
This is the first step of pre-wake up implementation.
2021-09-15 18:13:42 +02:00
Mateusz Grzegorzek
6224c8d56e [BH-833] Show popup on Alarm deactivation - part I
Handle Deep press down when not on Home Screen.
2021-09-13 12:29:15 +02:00
Mateusz Grzegorzek
58dd02cff1 [BH-861] Cleanup Application split - part I
1. Prepare Pure and Bell specific `Application`
   classes and add them to `app` target:

- `products/BellHybrid/apps/Application.cpp`
- `products/PurePhone/apps/Application.cpp`

2. Update `CMakeLists.txt` files.
3. Move `ApplicationBell` implementation to Bell-specific
   `Application` class and remove `ApplicationBell` files.
4. Change Bell apps parent classes from `ApplicationBell`
  to Bell-specific `Application` class.
5. Rename `Application` to `ApplicationCommon` in the rest of the files.
2021-09-13 11:58:10 +02:00
Piotr Tański
6ab09d5ffd [EGD-7459] Fixed factory reset process
Fixed the factory reset process.
2021-09-11 16:23:51 +02:00
Bartosz Cichocki
8145a88401 [EGD-7077] Rework of BT connection status in AppSettings
Reworked AppSettings handling of BT devices to be prepared for
handling the HFP profile, eliminating by the way few bugs and
speeding up the flow (by getting rid of few refreshes).

Added unit tests for handling the BT devices flow
2021-09-10 13:19:29 +02:00
Maciej Gibowicz
7394811560 [EGD-4809] Add LDO switching
To reduce the power consumption, we switch LDO
to the low power mode.
2021-09-09 09:34:59 +02:00
Maciej Gibowicz
1134a38584 [EGD-4875] Add internal load resistor switching
To reduce the power consumption, we disconnect
internal load resistor
2021-09-08 11:03:55 +02:00
Piotr Tański
90e7a48198 [EGD-7362] Merge release/0.76.1 into master
Merge release/0.76.1 into master.
2021-09-02 11:12:59 +02:00
Mateusz Grzegorzek
7f8fd25e9e [BH-831] Show popup on Alarm activation - part I
Handle Deep press up when not on Home Screen.
2021-09-01 14:36:40 +02:00
Paweł Joński
f7af25232d [BH-642] Fix messages flow in alarm backend
Fix messages flow in alarm backend
2021-09-01 12:18:34 +02:00
Mateusz Grzegorzek
51a8925127 [BH-740] Split SystemManager - part III
Move Pure-specific functionality to Pure SystemManager - part I
2021-08-26 10:42:53 +02:00
Mateusz Grzegorzek
2bdc4fbee6 [BH-740] Split SystemManager - part I
Rename SystemManager to SystemManagerCommon
2021-08-19 16:34:50 +02:00
Mateusz Grzegorzek
e1ef821609 [BH-741] Split ApplicationManager
Separate Pure and Bell ApplicationManager functionalities
to separate files.
2021-08-18 14:29:51 +02:00
GravisZro
e433e8dd03 Fix transparent backgrounds in PlantUML
Images generated using PlantUML had transparent backgrounds which made
their text difficult to read on GitHub when using "Dark Mode". Forcing
a background color of #F0F0F0 ensures they are all readable.
2021-08-16 17:01:19 +02:00
Mateusz Grzegorzek
6e0c4844f8 [BH-739] Split EventManager
Renaming:
- rename EventManager to EventManagerCommon,
- rename PureEventManager and BellEventManager
to EventManager
2021-08-16 14:15:55 +02:00
Mateusz Grzegorzek
6787a67fe7 [BH-739] Split EventManager
Move `test-settings` to `PurePhone` product-specific directory
2021-08-16 14:15:55 +02:00
Marcin Smoczyński
b355d5ce00 [BH-733] Cleanup target dependencies
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>
2021-08-13 01:43:56 +02:00
Marek Niepieklo
bd06eacbda [CP-403] Replace old update code
Removed update related code
Removed update test scripts
2021-08-05 17:11:24 +02:00
Marek Niepieklo
6c32205e1b [CP-371] Updater miscelanous developer mode and logs changes
This reverts commit cb93d58d85.
2021-07-27 17:03:28 +02:00
Adam Dobrowolski
cb93d58d85 [CP-371] Updater miscelanous developer mode and logs changes
Changed:
- Runtime disabled logs which didn't add value from ServiceDesktop
- Runtime disabled logs which didn't add value from SystemManager
- Added possibility to change runtime logging levels
- Integrated ServiceDesktop developer code a bit - it might be used
  as virtual base with little to no modifications for other endpoints
  which would result with less redundant code
2021-07-27 13:56:37 +02:00
Mateusz Grzegorzek
7188802f8e [BH-669] Fix CMake in service-appmgr
Fix CMake in service-appmgr
2021-07-21 14:19:41 +02:00
Wojtek Rzepecki
b19ddb719e [EGD-6928] Fix system powe instability
Improved frequency switching mechanism
2021-07-15 11:36:40 +02:00
Wojtek Rzepecki
992b0ea2c3 [EGD-3171] Fix key shortRelease on app switch
Fix of shortRelease on app switch while long
press applied on previous window
2021-07-13 11:03:20 +02:00
Lucjan Bryndza
97538c8969 [CP-319] Extends reboot reason code
Extends reboot reason codes after reboot to updater
to detect updater command requests: Update, FactoryReset
and the Recovery.

Signed-off-by: Lucjan Bryndza <lucjan.bryndza@mudita.com>
2021-07-08 17:13:02 +02:00
Lucjan Bryndza
5324fcc0a6 [CP-312] Add reboot to update function
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>
2021-07-07 10:46:29 +02:00
Wojtek Rzepecki
0e42b0016e [EGD-7044] Strip down calendar code
Stripping the calendar code to provide only
MVP defined functionalities
2021-07-07 09:05:57 +02:00
tomaszkrosnowski
3e9d1ee512 [EGD-7026] Fix nullptr calls and unlock behaviour
When unlocking there was unnecessary screen blink between unlock and PIN
code actions. Also nullptr calls removed from TimerHandle.
2021-06-30 15:58:39 +02:00
Wojtek Rzepecki
c0115fdc9a [EGD-6952] Fix tethering on low battery
Added prevention of tehering mode change
while battery is below critical level
2021-06-18 09:15:34 +02:00
Paweł Joński
a7fba1b343 [BH-374] Librarize application-antenna
Add apps-common, librarize application-antenna
2021-06-17 12:54:02 +02:00
Mateusz Grzegorzek
0684b1271b [BH-515] Create main Bell app
Create main Bell app
2021-06-15 16:02:40 +02:00
Jakub Pyszczak
e2863061e0 [EGD-6932] Small cellular refactor
Refactor regarding https://github.com/mudita/MuditaOS/pull/2226.
2021-06-15 12:50:44 +02:00
Radoslaw Wicik
943fef9643 [BH-353] Add Documentation for main targets
* clean up mimimu required cmake version
* fixes for release workflow

Add documentation for targets, fixes for cmake
and release workflow.
2021-06-11 09:07:41 +02:00
Pawel.Paprocki
95d96b82b6 [BH-370] Convert utils common_data into a libs
Create clipboard and eventsore libs
2021-06-09 14:39:11 +02:00
Lukasz Skrzypczak
2911b6b4a1 [BH-378] PR changes
PR changes - mainly includes
2021-06-08 12:24:29 +02:00