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

16192 commits

Author SHA1 Message Date
Miguel Angel Mulero Martinez
40cb515c00 Fix OSD dbm element size 2020-03-16 10:26:07 +01:00
Michael Keller
9b6911f80c
Merge pull request #9595 from mikeller/add_rx_spi_exti_frame_time_monitoring
Added EXTI based frame timing measuring for RX SPI receivers.
2020-03-16 18:03:00 +13:00
Michael Keller
69e1f6c8c8
Merge pull request #9592 from mikeller/fix_crsf_rf_mode
Fixed CRSF RF mode indication on link loss.
2020-03-16 18:02:51 +13:00
Michael Keller
01f0095296
Merge pull request #9590 from mikeller/clean_up_scheduler
Cleaned up the scheduler.
2020-03-16 18:02:36 +13:00
Michael Keller
a6d84a82a7
Merge pull request #9588 from mikeller/clean_up_lq_calculation
Made LQ calculation comply with coding standards.
2020-03-16 18:02:15 +13:00
Michael Keller
2e6b49516e
Merge pull request #9587 from mikeller/fix_crsf_rssi_collection
Fixed collection of RSSI data for CRSF.
2020-03-16 17:50:45 +13:00
Michael Keller
4fbfc4a69b
Merge pull request #9586 from mikeller/make_rssi_inversion_generic
Made RSSI inversion apply to all RSSI sources.
2020-03-16 17:50:31 +13:00
Michael Keller
6a2666dad8
Merge pull request #9591 from mikeller/revert_9215_vendor_specific_displayport_init
Revert #9215: Vendor specific displayport initialisation.
2020-03-16 16:42:16 +13:00
Michael Keller
94005fda6c
Merge pull request #9584 from etracer65/bmi270_compile_optimization
Change BMI270 driver compilation to speed-optimized
2020-03-16 08:54:08 +13:00
mikeller
db4bd1f186 Cleaned up the scheduler. 2020-03-16 08:35:58 +13:00
Bruce Luckcuck
e76fd50421 Change iterm_windup to only apply to yaw
Except for when Launch Control is active - then apply to all axes.
2020-03-15 13:03:02 -04:00
Bruce Luckcuck
703519512c
Merge pull request #9596 from betaflight/revert-9569-iterm-windup-setting-yaw-only
Revert "apply iterm_windup to yaw only"
2020-03-15 10:09:14 -04:00
Michael Keller
ea4f30c3ac
Revert "apply iterm_windup to yaw only" 2020-03-16 02:00:50 +13:00
mikeller
0db4160995 Added EXTI based frame timing measuring for RX SPI receivers. 2020-03-16 01:29:17 +13:00
mikeller
0062bc4100 Fixed CRSF RF mode indication on link loss. 2020-03-15 14:44:26 +13:00
Michael Keller
6ed4c0fbee
Merge pull request #9583 from etracer65/gyro_temperature_read_rate
Reduce gyro temperature read rate from 250hz to every 3 seconds
2020-03-15 14:14:42 +13:00
Michael Keller
05c90001ee
Merge pull request #9580 from etracer65/cms_setup_popup
CMS dynamic setup popup menu
2020-03-15 14:14:28 +13:00
Michael Keller
04d260d620
Merge pull request #9569 from ctzsnooze/iterm-windup-setting-yaw-only
apply iterm_windup to yaw only
2020-03-15 13:52:18 +13:00
mikeller
e9cb979cd8 Revert #9215: Vendor specific displayport initialisation. 2020-03-15 13:42:56 +13:00
mikeller
945ee706b9 Made LQ calculation comply with coding standards. 2020-03-15 11:31:41 +13:00
mikeller
b58954d845 Made RSSI inversion apply to all RSSI sources. 2020-03-15 11:14:11 +13:00
mikeller
db18051135 Fixed collection of RSSI data for CRSF. 2020-03-15 11:01:08 +13:00
Michael Keller
b729c3cc99
Merge pull request #9582 from etracer65/gyro_init_separate
Split initialization from gyro.c for flash savings
2020-03-15 10:16:30 +13:00
Michael Keller
9d3a48b1b0
Merge pull request #9579 from IllusionFpv/max-rate-independent-of-deadband
Max rate independent of deadband
2020-03-15 10:15:58 +13:00
Bruce Luckcuck
cb14206b96 Change BMI270 driver compilation to speed-optimized
Also move the "fake" gyro driver from speed to size-optimized.
2020-03-14 11:29:53 -04:00
Nicola De Pasquale
cfe7272050 moved some variables 2020-03-13 23:40:02 +01:00
mikeller
53ba871a34 Fixed unit tests. 2020-03-14 10:19:33 +13:00
ctzsnooze
269fdd0a24 might work
improve

remove const
2020-03-14 10:19:30 +13:00
Nicola De Pasquale
57a5fd937a precalculate divisors in initRcProcessing 2020-03-13 20:18:16 +01:00
Nicola De Pasquale
04e5e3bf24 max rate independent of deadband 2020-03-13 20:15:05 +01:00
Bruce Luckcuck
780da90037 Reduce gyro temperature read rate from 250hz to every 3 seconds
If the gyro supports it, the temperature is read as part of the telemetry task to be supplied in several protocols. There's absolutely no reason to read the gyro temperature at 250hz for this purpose and the temperature shouldn't be changing rapidly anyway. Revise to read a new temperature every 3 seconds which should be more than sufficient.

Has no impact at the moment as no actively used gyro supports temperature reads but may be used in the future.
2020-03-13 10:50:41 -04:00
Bruce Luckcuck
ad0e7154a7 Split initialization from gyro.c for flash savings
Move low performance requirements initialization code into gyro_init.c and optimize that for size.
2020-03-13 10:08:11 -04:00
Michael Keller
d9fedb5024
Merge pull request #9578 from mikeller/add_custom_box_names
Added custom (switch) box naming.
2020-03-13 13:16:07 +13:00
Michael Keller
e38fd8c6f5
Merge pull request #9577 from mikeller/cleanup_bmi270_microcode_inclusion
Cleaned up the inclusion of the microcode for BMI270.
2020-03-13 11:16:44 +13:00
Bruce Luckcuck
265d6dde2b CMS dynamic setup popup menu
Adds a dynamically constructed menu that will appear before the main menu when the user enters CMS if there are any outstanding setup items to complete. Currently only includes entry to calibrate the ACC if required, but provides a framework for other setup reminders as needed. The user can choose to exit this menu without remedying the problems, but the menu will reappear when they next enter CMS. If there are no required setup items then the menu will be skipped and the user will go straight to the main menu.
2020-03-12 11:45:44 -04:00
Michael Keller
1d8230f6ae
Merge pull request #9548 from jflyper/bfdev-g4-i2c
[G4] I2C support
2020-03-12 13:44:31 +13:00
Michael Keller
11ad602f3b
Merge pull request #9576 from mikeller/generalise_frame_rate_calculation
Generalised frame rate calculation.
2020-03-12 13:40:02 +13:00
mikeller
f3ec114a2a Added custom (switch) box naming. 2020-03-12 07:04:24 +13:00
jflyper
00e57e6049 [G4] I2C support 2020-03-11 19:08:57 +09:00
Michael Keller
d733c48b04
Merge pull request #9574 from IllusionFpv/increase-max-osd-srate-setting
Increase OSD srate max setting for using new rate systems
2020-03-11 22:32:28 +13:00
mikeller
ad4cc3d74f Cleaned up the inclusion of the microcode for BMI270. 2020-03-11 20:47:43 +13:00
Michael Keller
acdccd5a16
Merge pull request #9575 from jflyper/bfdev-i2c-new-clock
[I2C] Introduce computational I2C waveform configuration for HAL based MCUs
2020-03-11 20:29:04 +13:00
Nicola De Pasquale
db3d71a267 validation for all rate profiles 2020-03-11 01:15:19 +01:00
mikeller
9a3ae13038 Added some more legacy targets. 2020-03-11 12:54:52 +13:00
mikeller
1852d65106 Generalised frame rate calculation. 2020-03-11 12:47:27 +13:00
Michael Keller
a18a19a434
Merge pull request #9572 from mikeller/redo_unified_targets
Rearranged how Unified Targets are defined.
2020-03-11 11:28:49 +13:00
Michael Keller
4f71de63a3
Merge pull request #9564 from mikeller/cleaned_up_rx_handler
Cleaned up the RX handler some.
2020-03-11 11:27:09 +13:00
Nicola De Pasquale
5adc8d5ce6 add validation based on rates type 2020-03-10 21:28:29 +01:00
jflyper
ec2aac314d [I2C] Introduce computational I2C waveform configuration for HAL based MCUs
Tested with
Nucleo-F722ZE I2C1 on PB8,PB9
Nucleo-H743ZI I2C1 on PB8,PB9 and I2C4 on PF14,PF15
2020-03-10 12:11:50 +09:00
jflyper
0bb5c021ea
Merge pull request #9567 from jflyper/bfdev-h7-initialize-i2c-peripheral-clock-explicitly
[H7] Explicitly initialize I2C peripheral clock sources
2020-03-10 12:10:34 +09:00