~aleteoryx/muditaos

ref: 0e8b4c848e3f87f3bbb1f64ef7460cf56017b87f muditaos/module-bsp d---------
[BH-2084] Add new battery profile for fuel gauge

Added new battery profile configuration
to fuel gauge chip to support battery
of larger capacity that will be used
in Harmony 2 Pro version.
[BH-2085] Modify PWM driver to handle duty cycles <1%

Modified current PWM driver implementation
so that PWM module is able to generate
signals with duty cycle below 1%. This is
needed to reduce frontlight brightness
for Harmony 2 Pro version.
[BH-2048] Major Eink driver refactor

* Cleaned up BSP layer of Eink driver.
* Removed changing TCON config with
different refresh modes, used one set
of values for all modes instead.
* Moved coordinates transformation
routines to separate file.
* Minor fixes in 2bpp transformation
routine.
* Cleanups in lots of various
places.
[BH-2069] Update license URL in headers

Update outdated license file URL in
license headers across all project.
[BH-2035] Update relaxation paused window

Updated looped relaxation windows to match
new design.
Fixed issue with misaligned pause button
on timed relaxation windows.
[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.
[BH-2001] Fix debug build with new FSL

* Fixed some issues that have been
caught by asserts in debug build.
* Minor cleanup.
[MOS-1068] Fix A2DP stream not restarting after song changes

Workaround for the issue that A2DP stream
would sometimes not restart when music
player changes song to the next one.
[MOS-1068] Cleanup BTStack intergration

Code cleanup in various places of
BTStack integration.
[BH-1921] Fix debug session disconnects on entering WFI

Fix of the issue that debug session would sometimes
disconnect when the CPU entered WFI mode due to
core clock being stopped.
7a55cea8 — Dawid Wojtas 1 year, 9 months ago
[BH-1913] Fix debug mode

Add init eMMC pins to make sure that the pins
are configured in debug mode. If we run a debug mode
the 1st bootloader is not run so the pins may have
incorrect config. Added config also for Pure.
Bump ecoboot version with this same fix.
0aa09487 — Dawid Wojtas 1 year, 9 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 1 year, 10 months 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
[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.
[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.
[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.
Next