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

17528 commits

Author SHA1 Message Date
J Blackman
b7c8eaee3f
Merge pull request #11515 from blckmn/release_artifacts
Adding a release workflow.
2022-04-14 09:48:34 +10:00
Mark Haslinghuis
e74dbcfd45 Remove duplicate line in unittest 2022-04-13 23:25:13 +02:00
haslinghuis
42208ae46e
Merge pull request #11461 from hydra/bf-elrs-cleanup-1
ELRS / NVIC cleanup
2022-04-13 21:07:11 +02:00
haslinghuis
ceb73e41f0
Merge pull request #11469 from hydra/bf-fix-dshot-bitbang-bidirectional-sample-period
DSHOT/Bitbang - Hold the line at idle for 1 extra bit period.
2022-04-13 21:05:40 +02:00
ctzsnooze
f4775292b6
Merge pull request #11509 from ctzsnooze/failsafe-rc5-dev
Failsafe changes proposed for RC5
2022-04-13 22:12:07 +10:00
ctzsnooze
ee024aff0c refactor failsafeActivate, all recovery times the same
Simpler GPS Rescue fix
100ms interval for signalReceived failure
Faster failsafe stick response
Update and confirm unit tests work correctly
Restore invalid flight channel ability to trigger failsafe with individual timers
Set default failsafe stage 1 delay to 1.5 seconds, approximately match previous delay of 1.6s when the user selected 1.0 seconds.
Update failsafe documentation for 4.3
Arming blocked soon after Rx initialisation
Unit test fix for previous commit
Editorial changes and typo fixes
2022-04-13 11:52:56 +10:00
blckmn
6f81ddb2b4 Adding a release workflow. 2022-04-11 18:23:01 +10:00
4712
fd40ef9e50
Restricting the range a bit again 2022-04-11 00:20:19 +02:00
4712
057ba09d3f widening range of BLHeli/_S device id
widening range of BLHeli/_S device id filtering to ease integration of upcoming MCU types to ease integration of upcoming MCU types
2022-04-10 14:50:35 +02:00
haslinghuis
642689dfc7
Merge pull request #11504 from limonspb/failsafe_delay_fix
Adding CLI min for failsafe_delay (value of '2' - 0.2s)
2022-04-10 00:10:31 +02:00
Ivan Efimov
7c9f938fa6 Adding CLI min for failsafe_delay (value of '2' - 0.2s) 2022-04-07 20:50:05 -05:00
J Blackman
2fd2e8eca5
Merge pull request #11498 from SupaflyFPV/patch-2 2022-04-06 07:32:34 +10:00
Dominic Clifton
cb701814f1
Remove erroneous whitespace
Co-authored-by: Jan Post <Rm2k-Freak@web.de>
2022-04-02 01:45:13 +02:00
haslinghuis
7fcf16aad8
Merge pull request #11497 from ctzsnooze/repair-commit-for-PR-11459
fix for failsafe to apply throttle, aux and recovery delay settings
2022-04-02 01:40:00 +02:00
SupaflyFPV
3b6ae49145
Create release.yml 2022-04-02 00:36:55 +01:00
ctzsnooze
b360ccd60a allow sticks in GPS Rescue 2022-04-01 20:25:18 +11:00
ctzsnooze
bef4c9a254
Merge pull request #11494 from haslinghuis/dshot_gpio
Fix [Bidirectional] DShot issues on G4, F7 and H7 by reducing GPIO speed
2022-04-01 11:41:14 +11:00
ctzsnooze
4b05d0906f
Merge pull request #11483 from SteveCEvans/elrs_race
Fix ELRS lost connection race condition
2022-04-01 11:37:03 +11:00
ctzsnooze
d8aeb89710 commit for failsafe PR #11459 2022-04-01 07:01:04 +11:00
Steve Evans
930d07d63e Fix ELRS lost connection race condition 2022-03-30 20:57:05 +01:00
haslinghuis
21c8d67e95
Merge pull request #11459 from SteveCEvans/failsafe_timing
Failsafe timing
2022-03-30 21:51:19 +02:00
Steve Evans
07f6bea174 Fix failsafe timings and behaviour to match Failsafe.md 2022-03-30 18:29:21 +01:00
Mark Haslinghuis
a79840bef8 Fix [Bidirectional] DShot issues on H7 by reducing GPIO speed 2022-03-28 21:39:41 +02:00
haslinghuis
a6207a100e
Merge pull request #11468 from daleckystepan/fix_rc_smoothing
Fix compilation without RC smoothing enabled
2022-03-28 20:11:10 +02:00
David O'Connor
e9714261c3 Added doc comment to styleguide 2022-03-26 16:11:03 -04:00
haslinghuis
61f43fea9e
Merge pull request #11472 from klutvott123/crsf-baud-negotiation
Make negotiated baud configurable for CRSF
2022-03-23 00:01:35 +01:00
haslinghuis
015e9e2b63
Merge pull request #11442 from ctzsnooze/Save-not-Set-for-Tramp-OSD-command
Save not set for VTX osd settings
2022-03-22 11:47:27 +01:00
ctzsnooze
e22681e548 save not set for vtx OSD settings 2022-03-22 13:51:20 +11:00
haslinghuis
2d2cc20527
Merge pull request #11404 from betafpv-engineer/master
Set the target BETAFPVF4SX1280 dshot_bitbang to OFF
2022-03-21 12:26:06 +01:00
haslinghuis
0b87380529
Merge pull request #11480 from ChrisRosser/BMI_update
Update to BMI gyros to use OSR4 mode to reduce gyro hardware lowpass filter cutoffs
2022-03-20 21:33:12 +01:00
Hans Christian Olaussen
06bf20e79a Make negotiated baud configurable for CRSF 2022-03-20 15:32:07 +01:00
chrisrosser
a9f9477d3e update to BMI gyros to use OSR4 mode to reduce gyro lowpass filter cutoffs 2022-03-19 07:43:09 +00:00
J Blackman
2e9d2b1b2b
Merge pull request #11471 from nicovv44/format_CodingStyleReadme 2022-03-19 11:06:52 +11:00
Fahad Shihab
2eb269a10e
updated reference website link
the previous fastRotations.pdf link was broken. it now points to a google drive file.
2022-03-18 00:14:28 +05:30
Dominic Clifton
b79e3bb741 ELRS - Delete now-unused NVIC_PRIO_RX_SPI_INT_EXTI. 2022-03-16 13:50:36 +01:00
Dominic Clifton
9ea45b7c37 NVIC - Remove outdated comment.
Yes, there is a reason to use DMAIRQHandler, so that the WS2811 dma
transfer complete handler can update the ws2811LedDataTransferInProgress
flag.

Potentially though the timer could be left running and restarted when
the next led strip update occurs and the dma transfer 'numbers of bytes
to transfer' field could be read instead of the
ws2811LedDataTransferInProgress flag...
2022-03-16 13:47:58 +01:00
Dominic Clifton
d653dabebb NIVC - Remove unused entries. 2022-03-16 13:47:58 +01:00
Dominic Clifton
d43cb26b8e ELRS/SX127x - Cleanup NVIC/atomic block usage.
Since #11380 the sx127xISR will always be called from an ISR handler so
no additional NVIC entry or ATOMIC_BLOCK is required.

Also, since sx127xISR is always called from an ISR handler it means that
there's no need to call rxSpiPollExti.
2022-03-16 13:47:58 +01:00
haslinghuis
70a1b59687
Merge pull request #11457 from hydra/bf-fix-elrs-issues-1
Fix ELRS issues
2022-03-15 23:12:32 +01:00
haslinghuis
cc3c43cfa6
Merge pull request #11430 from phobos-/crazybee-icm
Included ICM20689 to CRAZYBEEF4SX1280 target
2022-03-15 15:03:10 +01:00
Nicolas VERHELST
17fd27e3a6 Add some other back quotes 2022-03-15 17:25:22 +11:00
Nicolas VERHELST
f519a089a6 Fix escape 2022-03-15 17:14:22 +11:00
Nicolas VERHELST
dcdf5e6af8 Add missing back quotes 2022-03-15 17:10:16 +11:00
Š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