Commit Graph

18 Commits

Author SHA1 Message Date
WillyJL d38a3635f4 Merge remote-tracking branch 'fork-ofw/fix/noisy-uart-hang' into mntm-dev --nobuild 2025-07-02 08:38:04 +01:00
WillyJL 556edd086f Expansion: Stop UART async rx early 2025-07-02 07:14:13 +01:00
WillyJL b048546356 Expansion: Wake thread on UART error flag 2025-07-02 07:13:53 +01:00
Willy-JL bd2ee18e48 Merge remote-tracking branch 'ofw/dev' into mntm-dev 2025-02-28 02:03:45 +00:00
Astra 2817666eb9 [FL-3774] Fix 5V on GPIO (#4103)
* Move OTG controls to the power service
* Accessor: add missing power service import
* Power: add is_otg_enabled to info and properly handle OTG enable with VBUS voltage present
* Power: method naming
* Power: add backward compatibility with old-style use of furi_hal_power
* Scripts: lower MIN_GAP_PAGES to 1
* SubGhz: fix incorrect logging tag
* SubGhz: delegate OTG management to power service
* Power: fix condition race, various improvements

Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2025-02-20 12:37:52 +09:00
Willy-JL 26959f73d8 Merge remote-tracking branch 'ul/dev' into mntm-dev --nobuild 2024-09-10 01:03:42 +02:00
MX 80ad381eef extra checks [ci skip] 2024-09-09 05:13:02 +03:00
Willy-JL e60b0180ec Merge remote-tracking branch 'ofw/dev' into mntm-dev 2024-09-05 18:15:25 +02:00
Georgii Surkov fa2d611652 [FL-3889] 5V on GPIO control for ext. modules (#3830)
* Make file extensions case-insensitive
* Bump protobuf version
* Add support for 5V control via RPC
* Add support for 5V control via Expansion protocol
* Update running instructions
* Update expansion module documentation
* Prettify condition
* Test RPC OTG control as well
* Assets: bump protobuf version
* Disable PVS license expiration check, fix PVS warnings

Co-authored-by: あく <alleteam@gmail.com>
2024-09-05 15:40:14 +01:00
Willy-JL 02f7207d28 Merge remote-tracking branch 'ofw/dev' into mntm-dev 2024-07-15 22:18:35 +01:00
hedger ffa3996a5e [FL-3867] Code formatting update (#3765)
* clang-format: AllowShortEnumsOnASingleLine: false
* clang-format: InsertNewlineAtEOF: true
* clang-format: Standard:        c++20
* clang-format: AlignConsecutiveBitFields
* clang-format: AlignConsecutiveMacros
* clang-format: RemoveParentheses: ReturnStatement
* clang-format: RemoveSemicolon: true
* Restored RemoveParentheses: Leave, retained general changes for it
* formatting: fixed logging TAGs
* Formatting update for dev

Co-authored-by: あく <alleteam@gmail.com>
2024-07-15 13:38:49 +09:00
HaxSam 25d686fdfb add is_connected api for expansion \w @Willy-JL 2024-03-01 09:49:39 +01:00
Georgii Surkov 6836a7b7c5 [FL-3764] Expansion module service improvements (#3429)
* Separate expansion control and worker threads
* Add edge case checks
* Reduce expansion control thread stack size, add comments
* Fix crash when disabling expansion modules
* Show a different RPC icon for expansion modules
* Restore expansion interrupt on changing logging settings
* Improve responsiveness in heavy games at the expense of dropped frames
* Improve furi_hal_serial API
* Fix a typo
* Remove too optimistic furi_check, replace with condition
* Fix premature RX interrupt during serial configuration
* Disable expansion interrupt if the handle was acquired
* Do not use a timer callback

Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2024-02-12 09:16:34 +07:00
Georgii Surkov 73deff8863 Do not use a timer callback 2024-02-09 16:31:45 +03:00
Georgii Surkov c489c956e7 Improve furi_hal_serial API 2024-02-07 21:13:38 +03:00
Georgii Surkov fee6f12684 Improve responsiveness in heavy games at the expense of dropped frames 2024-02-07 11:43:58 +03:00
Georgii Surkov 3721a71eab Reduce expansion control thread stack size, add comments 2024-02-06 16:38:54 +03:00
Georgii Surkov 2f0adf73c7 Separate expansion control and worker threads 2024-02-06 15:41:59 +03:00