[BH-2002] Fix crash when connected with broken USB cable Fixes of the issues that would cause device crash when connected with broken USB cable: * fixed memory leaks in VCOM init and deinit functions; * guarded accessing desktopWorker object in message handlers, as messages are asynchronous and might arrive after worker has already been destroyed. Not the cleanest solution, but does the trick
[BH-1776] Grinn USB fixes Fixes and improvements implemented by external company Grinn, expanding the set of supported chargers.
[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.
[BH-1863] Fix deleted file popup showing in Relaxation * Fix of the issue that 'File has been deleted' popup would show in Relaxation app at the end of playback if the playback was paused at least once, even though the file wasn't actually deleted. * Added very basic audio decoder error handling and propagation mechanism. * Minor refactor around several audio-related parts.
[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.
[MOS-996] Disable MTP protocol Disable MTP file transfer protocol.
[CP-2184] Fix issue with reset events getting lost Update of usb_stack submodule version in main repo.
[BH-1757] Fix Hard Fault handling Added a critical section when handling Hard Faults co-author @Lefucjusz
[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.
[MOS-1006] Fix modifying data in .text section when setting SN Fix of the issue that setting serial number in USB stack resulted in writing to read-only .text section, what causes undefined behavior.
[MOS-184] Fix unit tests not failing on duplicate test case Fix of the issue that unit tests build would not fail when unit test contained 2 test cases with identical name. Changed Catch2 submodule to local fork. Minor unit tests and build target docs cleanup.
[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.
[MOS-183] Fix RT1051 debug build Fix of multiple issues that resulted in debug build failing.
[CP-1968] Disconnecting the device during file upload causes problems with the USB Fixed the problem with an endless loop while sending data when USB is already disconnected.
[BH-1706] Fix inaccessible MTP on Harmony Fix of the issue that Harmony's MTP was constantly locked after MOS-686 fix, as the mechanics of unlocking was not handled for Harmony at all.
[CP-2014] Fix file list isn't always loaded Fix critical sections for send/recv virtual com functions.
[MOS-686] Fixed MTP availability only after phone unlocked 2 This is fix for Windows. It's fix for previous fix witch: Fixed file access via MTP even when phone is not unlocked. Now access is granted when the phone is unlocked by the user entering a passcode. If the phone is not passcode protected (passcode is nor set) then access to the files is always possible via MTP.
[MOS-686] Fixed MTP availability only after phone unlocked Fixed file access via MTP even when phone is not unlocked. Now access is granted when the phone is unlocked by the user entering a passcode. If the phone is not passcode protected (passcode is nor set) then access to the files is always possible via MTP.
[BH-1595] USB reset procedure * Fixed incorrect reset procedure * Minor refactor
[BH-1595] USB charger detection issues * Fixed issues with USB charging port detection * Fixed memory leak in usb_stack/OS integration layer * Fixed incorrect handling of software timer * Minor cleaning/refactor. [BH-1595] Turned off USB/PC charging Charging enabled only for a dedicated charger. Users won't be able to charger while connected to the PC.