1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-19 14:25:20 +03:00
Commit graph

17892 commits

Author SHA1 Message Date
Štěpán Dalecký
d296853797 Fix compilation without RC smoothing enabled 2022-03-14 19:33:40 +01:00
Dominic Clifton
25023bb3a2 DSHOT/Bitbang - Hold the line at idle for 1 extra bit period. 2022-03-12 12:24:05 +01:00
haslinghuis
e88df3bb68
Merge pull request #11446 from SteveCEvans/avgload
Report true average task execution time in tasks report
2022-03-11 02:26:27 +01:00
haslinghuis
18dd0fffc5
Merge pull request #11456 from hydra/bf-fix-exti-issues-1
Fix EXTI issues
2022-03-07 19:12:03 +01:00
Dominic Clifton
89bc834d01 ELRS - Fix EXTI irq clash and SPI transfer failure.
When the same exti IRQ (not exti line) is used for both the BUSY and the
DIO signals the IRQ levels cannot be different and neither can be a
higher priority than the SPI DMA.
2022-03-06 11:28:33 +01:00
Dominic Clifton
b06e6616d4 Fix missing ELRS GPIO configuration. GPIO pins need to be in INPUT mode before they can be read via IDR.
The reason it's broken on the H7 is that the default gpio mode is
ANALOG, not INPUT like it is on other MCUs, and that the busy pin is
used before communication to the SX1280 and the busy wait function
returns to early because the GPIO IDR bit is always 0 on the H7.  i.e.
not busy, when it is.

It may also be broken on other MCUs prior to this.
2022-03-06 11:25:29 +01:00
Dominic Clifton
c8ade4ee07 EXTI - Ensure the exti line is disabled and pending bit cleared for all
MCUs.

Prior to this commit there was no equivalent to EXTI_ClearITPendingBit
for H7.
2022-03-06 11:24:16 +01:00
Dominic Clifton
d0de9ac1f8 EXTI - Remove boolean argument from EXTIEnable.
It's confusing to have a method called EXTIEnable that takes an argument
that can DISABLE the line.

There are usually 3 options for this:
1. Use two methods, one for enable, one for disable.
2. Use enum constants instead of the boolean argument.
3. Rename to '*Set', e.g. EXTISet(...)

This commit applies option 1 above, as it's cleaner and the most common
use case in the codebase.
2022-03-06 11:24:16 +01:00
Dominic Clifton
0cfd462d85 EXTI - Clear pending register when disabling an exti line. 2022-03-06 11:24:16 +01:00
Steve Evans
cc3552b032 Report true average task execution time in tasks report 2022-03-02 21:30:02 +00:00
haslinghuis
5b5df65934
Merge pull request #11439 from SteveCEvans/compass_timing
Perform compass reads in the background
2022-03-01 21:37:07 +01:00
haslinghuis
70fca9c542
Merge pull request #11406 from KarateBrot/sdftWindow
Fix SDFT windowing
2022-03-01 19:14:14 +01:00
haslinghuis
9127219d0c
Merge pull request #11380 from SteveCEvans/elrs_sub_state
Exploratory concept for ELRS interrupt/busy handling
2022-03-01 12:56:23 +01:00
Steve Evans
fc8640154a Interrupt/DMA driven SX1280 interaction for ELRS 2022-02-28 19:50:36 +00:00
haslinghuis
ccd9508fca
Merge pull request #11403 from FiorixF1/master
Updated LED_STRIP docs with undocumented CLI commands
2022-02-27 15:50:56 +01:00
Steve Evans
8ac81f86b2 Perform compass reads in the background 2022-02-27 14:24:55 +00:00
haslinghuis
2efc30413c
Merge pull request #11420 from justinflipflops/fixDShotDefineCompilationIssues
Fix USE_DSHOT_TELEMETRY & USE_DSHOT_BITBANG  define compilation issues
2022-02-27 13:49:24 +01:00
haslinghuis
3f2c2bd8db
Update docs/LedStrip.md 2022-02-27 02:34:23 +01:00
Jan Post
36ab05f6a3
Merge pull request #11320 from MrTucks/patch-2
removed outdated Dshot1200 and F3 processors from feature list in readme
2022-02-27 02:28:36 +01:00
haslinghuis
3559c104a8
Merge pull request #11429 from klutvott123/fix-non-dshot
Fix non DSHOT protocols
2022-02-26 11:18:44 +01:00
Hans Christian Olaussen
13cb7b4280 Fix non DSHOT protocols 2022-02-24 15:26:46 +01:00
phobos-
70ace55b21 Included ICM20689 to CRAZYBEEF4SX1280 target 2022-02-22 08:10:05 +01:00
justinflipflops
c8b31f0dd0 Fix compilation when not using USE_DSHOT_BITBANG 2022-02-19 17:11:00 -05:00
justinflipflops
f179c6435b Fix compilation when building without USE_DSHOT_TELEMETRY 2022-02-19 17:10:53 -05:00
Mark Haslinghuis
25e0f309db Update Code of Conduct 2022-02-19 02:18:55 +01:00
KarateBrot
783e232bf8 Fix SDFT windowing 2022-02-17 20:54:50 +01:00
Alessandro Fiorillo
b96031573d
Updated LED_STRIP docs with undocumented CLI commands 2022-02-15 19:39:42 +01:00
betafpv-engineer
54548cdf4c Set the target BETAFPVF4SX1280 dshot_bitbang to OFF 2022-02-15 11:31:59 +08:00
Alessandro Fiorillo
ae77ed3daf
Updated LED_STRIP docs with undocumented CLI commands 2022-02-14 20:54:34 +01:00
haslinghuis
7b4415f062
Merge pull request #11361 from bobbycisneros/OSDBattEfficiencyFix
Update for Battery Efficiency Fix Issue #11277
2022-02-14 00:22:48 +01:00
Robert Cisneros
874911c359 Update for Battery Efficiency Fix Issue #11277 2022-02-13 07:32:47 -06:00
J Blackman
3267f0417f
Merge pull request #11373 from ledvinap/patch-1
Fix position_alt_*_sats
2022-02-01 09:47:29 +11:00
Jan Post
e8e25482ab
Merge pull request #11370 from limonspb/fix_filter_sliders_min
changed the min value for simplified filters to 10
2022-01-31 18:45:50 +01:00
Petr Ledvina
eef662c3f5
fix position_alt_*_sats
`position_alt_baro_fallback_sats` minimum must be 1 smaller than `position_alt_gps_min_sats` (altitude valid is `>=`, fallback is `<=`)
2022-01-31 16:16:51 +01:00
Ivan Efimov
ac2b8fe9c2 changed the min value for simplified filtes to 10 2022-01-30 23:02:18 -06:00
MrTucks
4e8b8f5489
Update README.md
Co-authored-by: haslinghuis <mark@numloq.nl>
2022-01-31 01:35:32 +01:00
haslinghuis
c6d0937583
Merge pull request #11312 from bakwc/fixDefaultModeAltitude
Fixed wrong altitude in DEFAULT (GPS + BARO) mode
2022-01-31 00:19:37 +01:00
haslinghuis
fc8318f54b
Merge pull request #11359 from alexeystn/fix_visual_beeper
Fix visual beeper
2022-01-30 02:29:42 +01:00
haslinghuis
8701d9141f
Merge pull request #11340 from SteveCEvans/osd_peak_task
Increase number of element groups and use peak hold task estimation for OSD
2022-01-30 02:29:12 +01:00
Filipp Bakanov
da2185225a
Fixed review 2022-01-29 19:48:20 +03:00
Filipp Bakanov
3c3cfbab72
Fixed review 2022-01-29 13:56:53 +03:00
Filipp Bakanov
9a0e0b8a8d
Fixed review 2022-01-29 12:58:57 +03:00
Filipp Bakanov
674d3b1e3b
Fixed review 2022-01-29 11:48:10 +03:00
haslinghuis
074172b4c9
Merge pull request #11351 from hydra/bf-osd-async-on-canvas-update
OSD - Use async screen clear in OSD_STATE_UPDATE_CANVAS.
2022-01-29 03:26:27 +01:00
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
5b1874dd30
Merge pull request #11350 from hydra/bf-fix-elrs-link-failures
Fix ELRS link failures where link is unrecoverable.
2022-01-29 01:07:37 +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
cc67b2e87c Naming changes suggested by Hydra 2022-01-28 20:31:47 +00:00
Alexey Stankevich
da0a42aeda Fix visual beeper 2022-01-28 22:35:26 +03:00
Filipp Bakanov
e19469c0ba
Fixed review 2022-01-28 21:01:11 +03:00