~aleteoryx/muditaos

ref: d9a1194e6f203247ebcef4b03f8ce5ebccc7c778 muditaos/module-bsp d---------
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
b53dec1f — Lefucjusz 2 years ago
[MOS-1012] Fix occasional crash when unplugging Pure from PC

Fix of the unhandled error issue that resulted
in occasional device crash when disconnecting
from PC with MC app running.
882a6d08 — Lukasz Mastalerz 2 years ago
[BH-1714] Handling eink initialization errors

Added error detection while eink initialization.
Added mechanism to reinitialize the eink in case of error.
21171bb4 — Lukasz Mastalerz 2 years ago
[BH-1714] Eink refactor and error handling

Cleanup and refactor for eink code.
Changed turning on/off procedure.
Add error handling.
53b1ebf3 — Dawid Wojtas 2 years ago
[BH-1730] Fix enter into SNVS mode

If the CPU fails during changing the frequency
the device can stuck in SNVS mode.
So the CPU frequency is checked and if
the frequency is wrong the CPU doesn’t enter SNVS mode.
The watchdog should restart the CPU.
561e4e7a — Lefucjusz 2 years ago
[MOS-599] Fix undefined phone mode in simulator

Fix of the issue that on simulator phone mode
was in 'undefined' state, what resulted in
no phone mode selected in settings.
13269271 — Lefucjusz 2 years ago
[MOS-998] Provide additional info in crashdump filename

Added info about product, OS version and
commit hash to crashdump filename to
simplify analysis of the crashdumps
without corresponding logs available.
8883bf2d — Dawid Wojtas 2 years ago
[BH-1717] Fix no clock update

The secure RTC can lock and the clock is not updated.
To prevent this situation we reset LP registers (except for
timestamps and alarms) and clear the LVD flag. Then we
enable again LP SRTC.
2643d9a9 — Lefucjusz 2 years ago
[MOS-997] Fix failing sync with Mudita Center

Fix of the issue that sync with Mudita Center
would fail often after changes introduced in
CP-1968.
90b02520 — Dawid Wojtas 2 years ago
[BH-1708] Fix buttons behavior

When the button is pressed/released we get an interrupt
which falls or rises edge. We read the gpio state a bit
later so in case of debouncing we can register
the wrong pin state.
After the debounce interval the state is stable.
3ba86634 — Dawid Wojtas 2 years ago
[BH-1718] Add extra logs to the RTC module

Add extra logs when the RTC timeout error occurs.
In that, we can find reason in registers of what happened.
2620191e — Lefucjusz 2 years ago
[MOS-238] Use on-chip hardware TRNG as an entropy source

Use hardware TRNG integrated into RT1051 MCU
as an entropy source for builds complied
for RT1051.
783ebcbb — Lefucjusz 2 years ago
[MOS-183] Fix RT1051 debug build

Fix of multiple issues that resulted
in debug build failing.
3193f6fa — Lefucjusz 2 years ago
[MOS-230] Print last instruction address before RTWDOG reset

Added mechanism that stores address of last
executed instruction before RTWDOG timeout
to enable some basic debugging in such cases,
as such resets do not create crashdumps and
leave no information in logs.
Next