Commit Graph
16 Commits
Author SHA1 Message Date
Raphael CoefficandGitHub c0744f2af3 perf: Use FreeRTOS mutex instead of binary semaphore (#3935) 2023-10-01 11:54:27 +10:00
MichaelandGitHub 34ea422e39 chore: freeRTOS task stack diagnostics (#2976)
* migrated stack diagnostics (available, free) to using built in FreeRTOS builtin function

Note: main stack must be and is treated differently as it is not under FreeRTOS control. main stack is painted by the STM32 startup routine. free main stack is calculated checking the remaining painted stack area.

* corrected my merge error

* missed a blank
2023-01-15 11:48:04 +10:00
Raphael CoefficandRaphael Coeffic bc6c53681c Move Horus GT911 driver to HAL 2022-06-25 16:09:04 +02:00
Raphael CoefficandRaphael Coeffic 96f5621bc5 Improve software 180deg rotation and add LVGL perf monitor 2022-06-11 15:38:08 +02:00
Raphael Coeffic 59191f37c3 Use software timers to trigger telemetry processing 2022-03-25 16:50:00 +01:00
Raphael CoefficandRaphael Coeffic b1b3423844 Use stream buffer for CLI 2021-11-21 11:18:35 +01:00
Raphael CoefficandPeter Feerick d77ff2f4e9 Do not use FreeRTOS functions as long as the scheduler is not started
Otherwise interrupts with a logical priority lower than configLIBRARY_MAX_SYSCALL_INTERRUPT_PRIORITY are masked after the first call to xTaskResumeAll() (after the first critical section is entered, and never released).
2021-10-15 21:40:01 +11:00
Raphael Coeffic 34c588d9f6 Dramatic memory use improvement
Thx to @3djc !
2021-07-31 17:31:51 +02:00
Raphael Coeffic 4d317c5e33 One notification index per task is enough
Notification index 0 is only used by FreeRTOS when Streams or message buffers are used.
2021-07-31 17:31:51 +02:00
Raphael Coeffic 507692cc77 Added some debug for DEBUG=YES 2021-07-31 17:31:51 +02:00
Raphael Coeffic 1c8d33a7ca Use task notification for mixer scheduler: faster and less RAM 2021-07-31 17:31:51 +02:00
Raphael Coeffic 56542bf7e8 Some fixes for simu 2021-07-31 17:31:50 +02:00
Raphael Coeffic 06f898006e Added F2 support and try to save more memory 2021-07-31 17:31:50 +02:00
Raphael Coeffic b1273dce53 Save a bit more memory 2021-07-31 17:31:50 +02:00
Raphael Coeffic 2a544d1b83 Disable mutexes (binary semaphores only) and software timers 2021-07-31 17:31:50 +02:00
Raphael Coeffic d4edb7713e WiP: FreeRTOS integration 2021-07-31 17:31:49 +02:00