1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-24 00:35:39 +03:00
Commit graph

1041 commits

Author SHA1 Message Date
haslinghuis
2c82ddb9a8
Merge pull request #11354 from SteveCEvans/sched_defer
Only prioritise a task if there's time to run it
2022-01-29 02:18:32 +01:00
haslinghuis
d43bba39ee
Merge pull request #11335 from ctzsnooze/TPA-via-throttle
Use Throttle Setpoint, not rcDATA, for TPA
2022-01-28 23:07:43 +01:00
Steve Evans
ae3842c89c Add unit test for priority bump of low priority task when higher priority task doesn't have time to run 2022-01-28 17:22:43 +00:00
Steve Evans
2e8d026b4e Add OSD_STATE_GROUP_ELEMENTS state to osdUpdate() and optimise DMA vs polled MAX7456 SPI access 2022-01-28 00:26:32 +00:00
ctzsnooze
2262dfc60e use Throttle Setpoint, not rcDATA(throttle), for TPA 2022-01-25 18:37:01 +11:00
Dominic Clifton
e2c0388a6a OSD - Add support for async screen clearing to display API.
No screen clearing is actually done asynchronously yet.
2022-01-22 18:59:11 +01:00
Steve Evans
b3903edf55 Allow RX and OSD tasks to be scheduled at the second attempt on F411 processors 2022-01-20 14:00:00 +00:00
Steve Evans
62cb1fba1a Add scheduler_relax_rx and scheduler_relax_osd variables 2022-01-20 01:59:13 +00:00
Štěpán Dalecký
72c70a22e8
Merge pull request #11270 from haslinghuis/rename_attr
Rename attr
2022-01-18 08:19:18 +01:00
Štěpán Dalecký
8986f53c21
Merge pull request #11229 from phobos-/elrs-fixes
ExpressLRS - fixed slow initial connection
2022-01-17 22:25:18 +01:00
Mark Haslinghuis
a1a383d812 Rename attr
Keep single and plurar definition
2022-01-17 03:10:16 +01:00
Steve Evans
db904b4a75 Add expediting of OSD task 2022-01-14 13:28:48 +00:00
Steve Evans
4e47a792d8 Add TASK_AGE_EXPEDITE_RX to ensure RX task is never starved of time 2022-01-12 23:38:50 +00:00
haslinghuis
8d52a36150
Merge pull request #11269 from SteveCEvans/rx_timing
Ignore duration of calcActiveAdjustmentRanges() and optimize RX_TASK_DECAY_SHIFT
2022-01-11 17:28:23 +01:00
Steve Evans
1526adfb44 Ignore duration of calcActiveAdjustmentRanges() and optimize RX_TASK_DECAY_SHIFT 2022-01-10 18:45:37 +00:00
phobos-
b42c907742 ExpressLRS - fixed slow initial connection 2022-01-10 10:20:44 +01:00
Štěpán Dalecký
a2debf5fbf Rename task id to task attr 2022-01-09 20:46:32 +01:00
haslinghuis
b8c58abf0e
Merge pull request #11218 from AlessandroAU/fix-msp-over-crsf
Fix MSP over CRSF for larger read and writes
2022-01-08 01:53:12 +01:00
Steve Evans
d492257f41 Fix refresh stats scheduling 2022-01-06 01:18:19 +00:00
Steve Evans
9bdf9c11e9 Split initialised/non-initialised task data 2022-01-06 01:18:17 +00:00
AlessandroAU
401d052748 tested and working
increase crsf frame timeout and msp tlm buffer sizes

addresses comments
2022-01-05 02:46:42 +10:00
Mathias Rasmussen
78df1374f1 Use angle brackets with standard library headers 2021-12-29 22:44:41 +01:00
Steve Evans
b29ee58e0a Display stats on disarm 2021-12-28 01:48:45 +00:00
Štěpán Dalecký
579e8005af Reorder box_t to save few hundreds of bytes 2021-12-26 20:00:00 +01:00
haslinghuis
4f0d4b81b1
Merge pull request #10788 from phobos-/express-lrs
ExpressLRS over SPI - sx1280 and sx1276 support
2021-12-22 23:46:03 +01:00
phobos-
e00a3abc59 ExpressLrs v2.0.0 support 2021-12-21 17:59:47 +01:00
Mathias Rasmussen
87c259a26e Fix use of floating point math functions 2021-12-21 04:18:59 +01:00
haslinghuis
b745eaf284
Merge pull request #11111 from SteveCEvans/cms_slider_ro
Make CMS fields readonly when overridden by a slider and mark with an S
2021-12-21 00:33:59 +01:00
ctzsnooze
aa4f0f7517
Merge pull request #10972 from SteveCEvans/ledstrip_dim
Add ledstrip_brightness to control LED strip brightness by percentage
2021-12-20 10:30:59 +11:00
ctzsnooze
db242cb161
Merge pull request #11033 from SteveCEvans/late_led_strip
Fix peaky task duration estimation
2021-12-20 10:27:05 +11:00
haslinghuis
282e9f6350
Merge pull request #11131 from klutvott123/remove-shared-msp-buffer
Remove shared MSP buffer
2021-12-18 00:29:13 +01:00
Steve Evans
29d221502e Use peak tracking as default for task duration estimation rather than a moving average 2021-12-17 22:09:52 +00:00
Steve Evans
ab1baccc66 Track state execution time for OSD, baro, rx and GPS tasks and inform scheduler of next state execution time 2021-12-17 15:40:01 +00:00
Hans Christian Olaussen
5f4ed614f1 Remove shared MSP buffer 2021-12-16 23:42:04 +01:00
Steve Evans
e8bf78178b No space in sizeof() as per Betaflight coding standard 2021-12-15 01:23:34 +00:00
Vladimir Kulbashevsky
222a607e3c MSP_over_CRSF changed with support of MSVv2 and Jumbo 2021-12-13 16:38:41 +02:00
Steve Evans
3de0d384ed Make CMS fields readonly when overridden by a slider and mark with an S 2021-12-12 16:34:02 +00:00
Štěpán Dalecký
40abe65bc0 Fix clang12 support on Linux/MacOS
Add support for clang 13
2021-10-04 22:11:58 +02:00
Steve Evans
fe12e356b9 Add ledstrip_brightness to control LED strip brightness by percentage 2021-09-30 23:21:21 +01:00
Štěpán Dalecký
fcd41eb28b Refactoring of rxFrameTimeUs 2021-09-28 16:06:58 +02:00
Steve Evans
d5f62be013 Trigger gyro SPI DMA reads in EXTI handler if supported and lock gyroTask loop to gyro to eliminate missed updates and jitter 2021-09-28 01:38:18 +13:00
ctzsnooze
99a7479b8c consistent gyro and dterm filter names 2021-09-27 09:12:00 +10:00
J Blackman
019ea9a2e9
Merge pull request #10907 from hydra/bf-debug-pin-fixes-1
Debug pin fixes and improvements.
2021-09-06 14:30:23 +10:00
ctzsnooze
5863015354 ifdef condition consistently applied, field names consistent, pg ID updated 2021-08-30 09:33:12 +10:00
ctzsnooze
28d9d778a6 feedforward transition moved to feedforward.c 2021-08-30 02:07:36 +10:00
Dominic Clifton
06e3eec915 Debug - Fix the NUCLEOH743 target_definition_unittest failure. 2021-08-18 17:11:55 +02:00
Hans Christian Olaussen
6dfb0de636 Fix crsf unit test 2021-07-31 22:00:00 +02:00
Steve Evans
87c8847c13 New SPI API supporting DMA
Call targetConfiguration() once before config is loaded and again afterwards in case the config needs to be changed to load from SD card etc

Drop SPI clock during binding

Remove debug

Add per device SPI DMA enable

Fix sdioPinConfigure() declaration warning

Reduce clock speed during SPI RX initialisation
2021-07-25 12:40:25 +12:00
ctzsnooze
c26428232a msp and other small fixes 2021-05-25 08:29:32 +10:00
Michael Keller
b414be320f
Merge pull request #10727 from ctzsnooze/PT2-PT3-options-for-filters 2021-05-25 01:53:53 +12:00