~aleteoryx/muditaos

ref: 724567929dd050f9d15814f1812d90af1f19d2fd muditaos/module-bsp d---------
0aa09487 — Dawid Wojtas 1 year, 11 months ago
[BH-1885] Increase stack size for battery charger task

The battery charger worker had only ~10% free
stack size so it was a possibility to stack overflow.
After increasing the stack by 512 bytes the worker
has ~40% free stack space.
54bf8311 — Dawid Wojtas 2 years ago
[BH-1770][BH-1677] Update fsl drivers

Now the system uses 2.14.0 version.
Add only necessary drivers:
- pit
- pmu
- rtwdog
- snvs_hp
- snvs_lp
- src
- trng
- wdog
- gpio
- gpt
- lpi2c
- lpuart
- lpuart_edma
- common
- common_arm
- dmamux
- edma
- flexram
- flexram_allocate
- clock
- cache
- CMSIS
- dcp
- iomuxc

Changed speed of the USDHC clock from ~109MHz to ~81MHz.
Also changed bus timing from kMMC_HighSpeedTiming to
kMMC_HighSpeed200Timing for better efficiency.
Revert "[MOS-1064] Fix no input language selected for French/Spanish"

This reverts commit 9ef454085e4cca8a1f6c3c270cf460f899c9ee23.
[MOS-1064] Fix no input language selected for French/Spanish

* Fix of the issue that choosing French
or Spanish as a system language
resulted in no input language selected.
* Added keyboard input parser unit
tests for French and Spanish input
maps.
* Minor cleanups.
[MOS-1061] Fix screen backlight flash when turning off

Fix of the issue that screen backlight
would sometimes flash lightly when the
phone is turning off.
4add7e17 — Maciej Gibowicz 2 years ago
[BH-1870] Fix displaying the menu after deep press on main screen

Add double checking debouncing timer with reference GPT timer to
eliminate incorrect behavior on deep press after exiting WFI
1e496a8f — Lefucjusz 2 years ago
[BH-1833] Fix debug after watchdog config change

Fix of the issue that waiting for RTWDOG
unlock bit to be set after issuing unlock
command caused the debug to crash
immediately after the OS started.
1d51c5c4 — Lefucjusz 2 years ago
[BH-1833] Enable RTWDOG in WFI mode

* Fixed initial RTWDOG config procedure, which
put watchdog module in some non-deterministic
state due to not waiting after unlock request
and config change, what prevented the watchdog
to be reconfigured later in the OS.
* Configured RTWDOG to continue running in
WFI to prevent potential freezes caused by
CPU not being woken up by periodic RTC
interrupt.
32c6769c — Lefucjusz 2 years ago
[BH-1657][BH-1833][BH-1854] Add WFI and SDRAM self-refresh mode

* Added mechanism enabling CPU to
enter WFI mode when the OS is
in idle, what results in large
power consumption reduction.
* Added mechanism to switch SDRAM to
self-refresh mode before entering
WFI, what resulted in further power
consumption reduction.
8b3ae7b4 — Lefucjusz 2 years ago
[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.
bc4ff20d — Lukasz Mastalerz 2 years ago
[BH-1836] Increase range of volume adjustment

Extended volume scale from 10 to 15 point scale
Modified volume approximation function for better user experience
6e76dc3e — Mateusz Szczesny 2 years ago
[BH-1787] Reboot to MSC endpoint

To allow the automation of gathering logs and swapping out OS images during tests a MSC reboot
endpoint was added. Together with a change to ecoboot, this allows the sending of a "reboot to
MSC" command. The deivce will then reboot and enter MSC mode.
e39871f8 — Dawid Wojtas 2 years ago
[BH-1814] Fix eink errors in logs

According to the newest fsl library the LPSPI_Reset function
shouldn't be invoked in LPSPI_MasterInit function.
As a result, the LPSPI module can't work after calling this API.

If the display returns the error the driver could invoke
EinkPowerDown function recursively which causes a crash.
d9a1194e — Lukasz Mastalerz 2 years ago
[BH-1688] Create a standard for logs

* Adding document describing how to use logger
* Adjusting logs to follow a new guide
* Change order in log header:
  line number is now before function name
674a7683 — Lefucjusz 2 years ago
[MOS-669] Add too hot battery notification when charging

* Added notification showing on the main
screen if the battery has reached too
high temperature to continue charging.
* Code cleanups.
3cbbeff5 — Lefucjusz 2 years ago
[MOS-1011] Fix frequency switching stability

Multiple fixes of clock switching related
stability issues:
* added RC oscillator hysteresis as in NXP example;
* changed DCDC converter config;
* configure PLL2 to be able to run on any CPU
frequency level;
* added switching to 1.275V (overdrive) voltage
when applying any clock change above 12MHz as
well as LDO or bandgap switching, as done in
Mbed OS' lpm.c for RT1050;
* changed BMCR AXI queues weighs for SDRAM
in JLink scripts to disable operations
reordering, as it is known to cause data
integrity issues;
* extracted some code to separate files;
* smaller or bigger code cleanups.
7a8e3501 — Lefucjusz 2 years ago
[MOS-1026] Add extended logging to Pure's charger driver

* Added extended logging to Pure's charger driver.
* Removed redundant handling of INOKB pin
interrupt - charger is configured to provide
the same interrupt via INTB pin.
* Minor code cleanup.
f1c49a60 — Lefucjusz 2 years ago
[MOS-1018] ServiceAudio power management optimizations

Optimized power management strategy used by
ServiceAudio:
* changed minimum CPU frequency from 528MHz to 264MHz;
* added switching to 24MHz when operation active,
but paused;
* minor cleanup in several places.
a61fb7a0 — Lukasz Mastalerz 2 years ago
[MOS-1014] Screen remains black after turning off the phone with dark mode enabled

Regression fixed by adjusting wipeout function.
97527883 — Lukasz Mastalerz 2 years ago
[BH-1412] Whitelist update

Whitelist removed for Harmony
Changed the way whitelist is obtained
Added missing logs for Eink Dispaly
Next