Commit Graph

30 Commits

Author SHA1 Message Date
Willy-JL
5f98c5d986 Merge remote-tracking branch 'ofw/dev' into yeet-lfs 2024-08-13 02:27:09 +02:00
Willy-JL
6acfd65697 Cleanup API symbols
Services expose same sdk_headers as OFW
Since settings apps use some of those symbols, need to include them
Workaround is mock imports by #include the .c code
Not ideal, but we only need access to basic load/save functions, and these apps are bundled with firmware anyway, so should be fine
Not exposing via API and instead bundling via FAP also means less flash used, and RAM is not a concern with settings apps
2024-08-10 03:01:40 +02:00
Georgii Surkov
f4122a924a [FL-3841] FuriEventLoop Pt.2 (#3703)
* Abstract primitive type from main logic in FuriEventLoop
* Remove message_queue_i.h
* Add stream buffer support for event loop
* Add semaphore support for event loop
* Add temporary unit test workaround
* Make the linter happy
* Add mutex support for event loop
* Implement event subscription and unsubscription while the event loop is running
* Implement edge events
* Fix leftover logical errors
* Add event loop timer example application
* Implement flag-based edge trigger and one-shot mode
* Add event loop mutex example application
* Only notify the event loop if stream buffer is at or above its trigger level
* Reformat comments
* Add event loop stream buffer example application
* Add event loop multiple elements example application
* Improve event loop flag names
* Remove redundant signal handler as it is already handled by the event loop
* Refactor Power service, improve ViewHolder
* Use ViewHolder instead of ViewDispatcher in About app
* Enable ViewDispatcher queue on construction, deprecate view_dispatcher_enable_queue()
* Remove all invocations of view_dispatcher_enable_queue()
* Remove app-scened-template
* Remove missing library from target.json
* Port Accessor app to ViewHolder
* Make the linter happy
* Add example_view_holder application, update ViewHolder docs
* Add example_view_dispatcher application, update ViewDispatcher docs
* Replace FuriSemaphore with FuriApiLock, remove workaround delay
* Fix logical error
* Fix another logical error
* Use the sources directive to speed up compilation
* Use constant define macro
* Improve FuriEventLoop documentation
* Improve FuriEventLoop documentation once more
* Bump API Version
* Gui: remove redundant checks from ViewDispatcher
* Gui: remove dead ifs from ViewDispatcher

Co-authored-by: Silent <CookiePLMonster@users.noreply.github.com>
Co-authored-by: hedger <hedger@users.noreply.github.com>
Co-authored-by: あく <alleteam@gmail.com>
2024-08-07 12:49:41 +09:00
Willy-JL
083c17f09d Revert some settings handling to how they work in OFW 2024-08-07 02:15:39 +02:00
Willy-JL
06aea09169 Merge branch 'dev' of https://github.com/flipperdevices/flipperzero-firmware into mntm-dev 2024-03-20 04:18:26 +00:00
あく
acc39a4bc0 Api Symbols: replace asserts with checks (#3507)
* Api Symbols: replace asserts with checks
* Api Symbols: replace asserts with checks part 2
* Update no args function signatures with void, to help compiler to track incorrect usage
* More unavoidable void
* Update PVS config and code to make it happy
* Format sources
* nfc: fix checks
* dead code cleanup & include fixes

Co-authored-by: gornekich <n.gorbadey@gmail.com>
Co-authored-by: hedger <hedger@users.noreply.github.com>
Co-authored-by: hedger <hedger@nanode.su>
2024-03-19 23:43:52 +09:00
Willy-JL
a4387de6cb (Experimental) Allow CPU Sleep in setting menus 2024-02-15 02:04:36 +00:00
Willy-JL
4ec530c912 Revert "Keep power settings internal (fix wrong mA) +5kb DFU :("
This reverts commit 5bd168c24b.
2024-02-15 01:19:38 +00:00
Willy-JL
5bd168c24b Keep power settings internal (fix wrong mA) +5kb DFU :( 2024-02-14 19:11:23 +00:00
Willy-JL
acc352e61f Make settings menus external -21.7kb DFU 2024-02-14 04:36:48 +00:00
Willy-JL
66aec507f4 Merge branch 'dev' of https://github.com/DarkFlippers/unleashed-firmware into xfw-dev 2024-01-29 18:12:27 +00:00
MX
16d1c938bf more contrast values for replacement displays 2024-01-29 02:23:42 +03:00
MX
f6d0b1d399 Change LED and volume settings by 5% steps
We discussed such change before with Svarich, but while I was busy with other stuff looks like this
Idea has been already implemented by cokyrain
So credits goes to cokyrain (github)
2023-07-05 19:33:27 +03:00
Willy-JL
4955567148 Merge branch 'dev' of https://github.com/DarkFlippers/unleashed-firmware into xfw-dev 2023-06-07 19:44:35 +01:00
MX
0d394a6f87 Merge branch 'ofw-dev' into dev 2023-06-07 00:29:06 +03:00
あく
76c70bdf2c [FL-3316] Settings: add contrast adjustment (#2737)
Co-authored-by: hedger <hedger@users.noreply.github.com>
2023-06-06 21:46:01 +04:00
Willy-JL
a5cddc076e Merge branch 'ul-dev' into xfw-dev 2023-04-23 17:48:05 +01:00
MX
2de476b11d Merge branch 'fz-dev' into dev 2023-04-19 17:03:56 +03:00
Astra
74fe003f8b [FL-3171] Introduce stealth mode and auto-selective lock (#2576)
* Introduce stealth mode and auto-selective lock
* Stealth mode status bar icon
* Review fixes
* Fix icon disappearing after reboot
* Support overriding stealth mode
* FuriHal: correct reserved space size in RTC SystemReg

Co-authored-by: あく <alleteam@gmail.com>
2023-04-19 18:33:23 +09:00
Willy-JL
5124b3e0a4 More steps for volume setting 2023-03-28 00:26:19 +01:00
Willy-JL
d05a3b7ec9 Integrate RGB backlight into API + add to xfw app 2023-03-20 23:09:41 +00:00
Willy-JL
2a834bedeb Update rgb backlight colors 2023-03-20 22:19:19 +00:00
Willy-JL
e6f9c0ee61 Add initial RGB backlight support 2023-03-20 03:55:26 +00:00
Willy-JL
77eb733a9a Format 2023-03-02 02:52:25 +00:00
Willy-JL
dbfc57bfd3 More steps for LCD brightness 2023-02-27 19:39:40 +00:00
MX
ca02826cfd set time between cards to 6, run fbt format 2022-09-20 23:24:34 +03:00
Der Skythe
d67d5da034 fix: SubGhz Read reset setting ReadRAW after using scene ReadRAW 2022-09-16 18:38:08 +04:00
MX
3fbaad1488 Merge branch 'fz-dev' into dev 2022-09-14 21:04:04 +03:00
SG
b9a766d909 [FL-2627] Flipper applications: SDK, build and debug system (#1387)
* Added support for running applications from SD card (FAPs - Flipper Application Packages)
* Added plugin_dist target for fbt to build FAPs
* All apps of type FlipperAppType.EXTERNAL and FlipperAppType.PLUGIN are built as FAPs by default
* Updated VSCode configuration for new fbt features - re-deploy stock configuration to use them
* Added debugging support for FAPs with fbt debug & VSCode
* Added public firmware API with automated versioning

Co-authored-by: hedger <hedger@users.noreply.github.com>
Co-authored-by: SG <who.just.the.doctor@gmail.com>
Co-authored-by: あく <alleteam@gmail.com>
2022-09-15 02:21:03 +09:00
SG
873e1f114b [FL-2627] Flipper applications: SDK, build and debug system (#1387) 2022-09-15 01:11:38 +09:00