Commit Graph

9 Commits

Author SHA1 Message Date
Lefucjusz
5e52e0324f [BH-2009] Change charger chip name to proper one
Renamed some legacy name of battery charger
chip to the one that is used in the device.
Minor cleanups.
2024-06-12 15:20:13 +02:00
Dawid Wojtas
f7980fea6d [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.
2023-03-14 15:49:29 +01:00
Dawid Wojtas
9279e9ac06 [BH-1628] Reinit I2C after bus error
A lack of timeout in I2C could cause
the worker could get stuck in a loop
if the communication has been broken somehow.
The Harmony is unresponsive in this case.
The only solution is just to perform a hardware
reset using Frontlight and Back buttons simultaneously.

There are also additional 5 attempts to read and write
transactions if the bus error occurs in the Fuel Gauge driver.
It should be sufficient but if it would still persists
the system just will read 0% SOC and shutdown system.
2023-03-07 08:25:25 +01:00
Mateusz Piesta
14f78ffc07 [BH-1552] Harmony crashes during startup
Fixed crashing device.
Bell temperature sensor refactor.
2022-08-12 14:40:56 +02:00
Mateusz Piesta
72067d9881 [BH-1536] Remove unneeded compilation flags
Removed -Wno-unused-variable from
module-bsp.
Fixed issues that were reported after
removing it.
Removed unneeded compile flags from
rt1051 cmake file.
2022-07-05 10:53:20 +02:00
Mateusz Piesta
2f42cd5e73 [BH-1424] FreeRTOS update
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.
2022-04-07 13:31:28 +02:00
Maciej Janicki
2b2bb13a49 [MOS-296] Merge remote-tracking branch 'origin/stable'
Merge stable Harmony branch into merge wip branch
2022-03-09 19:27:50 +01:00
Mateusz Piesta
792a663237 [BH-1333] CW2015 driver reactor
CW2015 fuel gauge refactor.
Fixed init logic.
2022-02-09 15:28:03 +01:00
Mateusz Piesta
1946d53efa [BH-1333] Battery subsystem refactor
Interfaces clean up.
Fixed logic flow.
Fixed various bugs.
2022-01-21 13:48:10 +01:00