Commit Graph

14 Commits

Author SHA1 Message Date
Vadim Kaushan
bb68fca20b
Implement ValueManager and ValueComposer (#183)
* Fix ValueManager implementation
* Implement ValueComposer
* Add constructor for ValueManager
* Add value-expanders.h to flipper_v2.h set
* Move COPY_COMPOSE body into a .c file
* Add test for ValueManager
* Add destructors for ValueMutex, ValueManager and ValueComposer
* Use destructors in tests
* Move composition logic into perform_compose()
* Add docs for perform_compose()
* Add test for ValueComposer
* Replace atomic_bool with bool as g++ compiler doesn't support C11 atomics
* Add Event type
* Add semaphore support to the local target
* Add test for Event
* Update input records and relevant examples
* Rename Event to AppEvent in the cc1101-workaround example
* Rename Event to AppEvent in the irda example
* Use Event in ValueComposer to wait for update request
* Add perform_compose_internal() function
* fix Event/AppEvent

Co-authored-by: aanper <mail@s3f.ru>
2020-10-26 12:26:15 +03:00
DrZlo13
430815d561 now asserts dont break anything in release mode 2020-10-20 19:23:53 +10:00
Aleksandr Kutuzov
f0800e579f GUI: GuiApi isolation 2020-10-16 18:25:06 +03:00
Aleksandr Kutuzov
491343b683 GUI: reformat sources 2020-10-16 16:36:05 +03:00
Aleksandr Kutuzov
1a36dfc5d3 GUI: hide canvas inside 2020-10-16 16:34:36 +03:00
Aleksandr Kutuzov
d715767cef GUI: osWaitForeverfor in queue put, simplify osMessageQueueGet. 2020-10-16 15:16:54 +03:00
aanper
2806a3ce3d add forgotten u8g2 periphery 2020-10-15 19:16:11 +03:00
aanper
f9bda68ef8 lint 2020-10-15 18:57:21 +03:00
aanper
f0f3615c55 compile/run ok, issue with backlight 2020-10-15 18:56:47 +03:00
aanper
78e016412e gui draw refactor 2020-10-15 18:13:18 +03:00
aanper
e684869970 refactor canvas 2020-10-15 18:05:28 +03:00
aanper
19ef348c80 [wip] change gui/widget api 2020-10-15 11:32:48 +03:00
aanper
f2a38cf174 fix syntax 2020-10-15 11:02:40 +03:00
coreglitch
b2a12d091a
Display and UI implementation (#169)
* Menu app. Lib: add mlib submodule.

* Menu: new startup lib dependency definition

* Menu: hierarchy in menu. Cube: fix heap1/4 inconsistency, stack protection.

* GUI: rendering pipeline initial version.

* GUI: layered widget composing, FURI record. Menu: FURI record, api.

* GUI: input dispatching. Menu: switch to input from GUI.

* GUI, MENU: code style cleanup, fix type conversion warnings.

* GUI, Menu: syntax check.

* Makefile: check and reinit submodules, format.

* Menu: lock on event processing. Makefile: proper submodule initialization.

* Menu: fix stack corruption by queue.

* GUI: refactor.

* Makefile: format rule fix, st-util pid.

* GUI, Menu, FURI: format with clang-format.

* GUI, MENU: locks in critical sections, fix stack corruption, ready signaling.

* Makefile: clang format rule cleanup.

* GUI,MENU: migrate to new API.

* Applications: PRODUCTION_HW variable, skip drivers build on local target.

* refactor production build

* add git to dockerfile

* GUI: uncomment lock block

Co-authored-by: Aleksandr Kutuzov <aku@plooks.com>
2020-10-14 13:21:55 +03:00