mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2024-12-26 23:05:05 +03:00
139660d206
* Implement POC event loop tmers (not all edge cases are handled) * Use a separate ready list to allow for (re)starting and stopping of timers from callback * Improve the test application * Improve timer API and test application * Improve timeout calculation logic * Improve timer API, update documentation * Fix API usage error * Update doxygen comments * Revert the old (correct) check * Improve function naming * Check whether a timer was on the expired list before processing it * Implement tick callback * Add critical sections to improve timer consistency * Simplify event loop timer API * Remove redundant search * Refactor timer logic, use message queue * Simplify FuriEventLoopTimer API * Improve event loop timer logic * Update the f18 target * Remove superfluous clears * Correct f18 api symbols * Fix doxygen comments * Update .pvsconfig * Use a double push list instead of deque * Update .pvsconfig * Add pending callback functionality * Restore unprocessed flags when applicable * Refactor Dolphin app to use FuriEventLoop * Improve naming * Update naming some more * Fix a typo Co-authored-by: Silent <CookiePLMonster@users.noreply.github.com> * Fix wait time in example * Bump API version * Debug: multiple of 25 timings in event loop blink test * Separate FuriEventLoopTimer to its own set of files * Improve start time calculation for periodic timers * Do not use dynamic allocations for timer requests * Split the tick functionality in separate files, rearrange code * Improve timer queue handling * Properly reset GPIO pins in the test app * Properly initialise GPIO pins in the test app too * Furi: variable naming in event loop * Furi: fix spelling in event loop Co-authored-by: あく <alleteam@gmail.com> Co-authored-by: Silent <CookiePLMonster@users.noreply.github.com>
49 lines
1.0 KiB
Plaintext
49 lines
1.0 KiB
Plaintext
# MLib macros we can't do much about.
|
|
//-V:M_LET:1048,1044
|
|
//-V:M_EACH:1048,1044
|
|
//-V:ARRAY_DEF:760,747,568,776,729,712,654,1103
|
|
//-V:LIST_DEF:760,747,568,712,729,654,776,1103
|
|
//-V:LIST_DUAL_PUSH_DEF:524,760,774
|
|
//-V:BPTREE_DEF2:779,1086,557,773,512
|
|
//-V:DICT_DEF2:779,524,776,760,1044,1001,729,590,568,747,685,1103
|
|
//-V:ALGO_DEF:1048,747,1044
|
|
//-V:TUPLE_DEF2:524,590,1001,760
|
|
//-V:DEQUE_DEF:658,747,760
|
|
|
|
# Non-severe malloc/null pointer deref warnings
|
|
//-V::522:2,3
|
|
|
|
# Warning about headers with copyleft license
|
|
//-V::1042
|
|
|
|
# Potentially null argument warnings
|
|
//-V:memset:575
|
|
//-V:memcpy:575
|
|
//-V:memcmp:575
|
|
//-V:strlen:575
|
|
//-V:strcpy:575
|
|
//-V:strncpy:575
|
|
//-V:strchr:575
|
|
|
|
# For loop warning on M_FOREACH
|
|
//-V:for:1044
|
|
|
|
# Bitwise OR
|
|
//-V:bit:792
|
|
|
|
# Do not complain about similar code
|
|
//-V::525
|
|
|
|
# Common embedded development pointer operations
|
|
//-V::566
|
|
//-V::1032
|
|
|
|
# Warnings about length mismatch
|
|
//-V:property_value_out:666
|
|
|
|
# Model-related warnings
|
|
//-V:with_view_model:1044,1048
|
|
|
|
# Examples
|
|
//V_EXCLUDE_PATH applications/examples/
|