Commit Graph
41 Commits
Author SHA1 Message Date
Lefucjusz 09efb75ed5 [MOS-1068] Cleanup BTStack intergration
Code cleanup in various places of
BTStack integration.
2024-05-29 17:33:30 +02:00
Lefucjusz 8b3ae7b48c [BH-1857] Fix improper PWM module clock frequency computation
* Fix of the issue that source clock for PWM
module was improperly assumed to be derived
from AHB_CLK, while in reality it is
derived from IPG_CLK, what resulted in
module generating signal with 4 times
lower frequency than the configured
one.
* Cleanups.
2024-01-16 13:58:26 +01:00
Lukasz Mastalerz 21171bb474 [BH-1714] Eink refactor and error handling
Cleanup and refactor for eink code.
Changed turning on/off procedure.
Add error handling.
2023-07-14 10:23:42 +02:00
Lefucjusz 3c2728e5dd [BH-1695] Fix Harmony crash on startup
Fix of the bug in PWM driver that
resulted in accessing array out of
bounds, what caused occasional
system crash on startup.
2023-05-17 11:47:09 +02: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
Bartosz ccce9bb19f [MOS-724] CodeQL setup
added CodeQL setup, small fixes to CI
2022-10-19 15:59:32 +02: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
Dawid Wojtas 017ebc294b [MOS-613] Fix keyboard doesn't respond
Now the keyboard driver is checking the result of i2c
transmission and we get an error code if something fail.
2022-08-05 10:48:29 +02:00
Maciej Janicki 5dc42c2be6 [MOS-296] Merge new master commits into merge-stable-wip
Merge new master commits
2022-03-09 19:32:59 +01: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
Adam Dobrowolski 1fff92e9d6 [MOS-225] Review applied
As above.
2022-03-04 07:05:02 +01:00
Adam Dobrowolski dd12853503 [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
2022-03-04 07:05:02 +01:00
GravisZro e59cd4036b [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.
2022-02-24 08:47:20 +01:00
Mateusz Piesta 2fd3ea0c06 [BH-1175] Various sample rates support
Added 44.1/48kHz sample rate support.

[BH-1281] Software volume scaling.
2021-12-09 11:49:43 +01:00
Przemyslaw Brudny 21a5a23282 [EGD-8079] CPU frequency conversion PWM fix
Fixed CPU frequency conversion.
2021-12-07 15:52:00 +01:00
Wojtek Rzepecki a03817ab96 [EGD-7766] Vibration level PWM addition
PWM channels separate control added.
2021-10-20 14:06:39 +03: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
Lukasz Skrzypczak f5da876bbf [BH-653] Working
Working on P1
2021-09-07 17:19:12 +02:00
Maciej Gibowicz 9f87dead1c [EGD-4853] Add Wake up GSM modem on demand
System wakes up Cellular when there is a need to communicate
with the modem, e.g. to handle an outgoing call
2021-03-10 13:08:48 +01:00
Wojtek Rzepecki 0c098808e8 [EGD-5660] Add PWM Cpu sentinel
Change of PWM frequency due
to main clock change in low
power operation.
2021-02-25 17:09:05 +01:00
Maciej-Mudita ec56afc933 [EGD-5381] Add Low Power Drivers
Peripherals clock synchronization dependent on PLL2
2021-02-10 08:46:13 +01:00
wojtekrzepeckiandWojtek Rzepecki be057d28d4 [EGD 4449] display backlight (#1120)
* [EGD-4449] Added fsl drivers for pwm

* [EGD-4449] Added sketch of cpp wrapper for PWM driver

* [EGD-4449] First configuration of pwm

* [EGD-4449] Pin Mux config added

* [EGD-4449] Finalized basic configuration

* [EGD-4449] Added layer of eink frontlight control

* [EGD-4449] Added to worker event

* [EGD-4449] Added getter for brightness level

* [EGD-4449] Added mutex and clamp

* [EGD-4449] First working PWM driver configuration

* [EGD-4449] More minimalistic interface

* [EGD-4449] Cleaning and refactoring

* [EGD-4449] Connected to message system

* [EGD-4449] Added gamma correction

* [EGD-4449] PWM Start/Stop logic configuration

* [EGD-4449] Linux target file added

* [EGD-4449] Minor refactorings

* [EGD-4449] Branch style fix

* [EGD-4449] PR comments pt 1

* [EGD-4449] PR comments pt 2

* [EGD-4449] branch style fix

* [EGD-4449] PR pt3 - messages change

* [EGD-4449] Minor change

* [EGD-4449] BrightnessLevel type added

* [EGD-4449] Moved processing to EventManager

* [EGD-4449] 1-5 levels to percentage

* [EGD-4449] Fix style

Co-authored-by: Wojtek Rzepecki <wojtek.rzepecki@mudita.com>
2020-12-02 16:29:03 +01:00
Przemyslaw Brudny e131dae68f [EGD-3743] Removed old doxygen copyright statements from project. 2020-10-20 12:55:10 +02:00
Radoslaw Wicik 2276ceed67 [EGD-3743] Update copyrights in fies 2020-10-20 12:55:10 +02:00
alek 50cf5f1137 [EGD-3813] magic enums as submodule + update to 0.6.6 release 2020-09-24 15:32:57 +02:00
pholat ba5cf97919 EGD-3218 GCC 10.1 fixups (#375) 2020-05-20 11:05:46 +02:00
Adam Dobrowolski abe6813ce6 EGD-3026 Wall Werror and Wextra added to project 2020-03-24 14:17:12 +01:00
Radoslaw Wicik a8573a404c Apply new style 2020-03-17 10:03:16 +01:00
Mateusz e1cfefee70 Merge branch 'master' into pwrmgr-drivers 2019-08-22 11:10:41 +02:00
Mateusz 926dd5880b Fixed hardfault when using gcc 8.3.0. 2019-08-22 10:11:42 +02:00
Mateusz 0342924aab WiP: Turned off PLL3 as it's not used 2019-08-21 14:05:05 +02:00
Mateusz 055f5f2d7c WiP: drivers interface refactor 2019-08-19 19:14:36 +02:00
Mateusz 6f63229dad WiP: BSP-keyboard, updated gpio driver 2019-08-19 08:32:17 +02:00
Mati 12c633723e WiP: gpio driver 2019-08-19 08:12:44 +02:00
Mati 5624f6bf2a WiP: refactored DMAHandle out of DMA driver 2019-08-16 08:55:40 +02:00
Mateusz a51d2da3ff WiP: added GPIO template 2019-08-14 15:03:09 +02:00
Mateusz ef42c06f99 WiP: dma,dmamux close procedure tested 2019-08-14 14:37:01 +02:00
Mateusz cabbc1628f WiP: merged module-drivers with bsp 2019-08-14 12:46:49 +02:00
Mateusz dd4474f3c3 WiP: Massive refactor in module-bsp, cleaned up include paths and compilation warnings/errors 2019-08-08 10:27:45 +02:00
Mateusz 749c14c7c6 WiP: fixed unit tests
Small profile refactor
Fixed bugs
2019-08-01 13:06:57 +02:00
Mateusz d3a76d8b99 WiP: new BSP layer for I2C, RT1051 driver for audiocodec 2019-07-29 19:49:43 +02:00