Commit Graph

15745 Commits

Author SHA1 Message Date
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
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
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
mikeller a126a0449a Rearranged how Unified Targets are defined. 2020-03-10 03:25:40 +13:00
mikeller d13e83b91b Cleaned up the RX handler some. 2020-03-10 00:55:52 +13:00
Michael Keller 6a6fd23742
Merge pull request #9562 from mikeller/added_master_warning
Added warning about pull requests from 'master'.
2020-03-10 00:49:24 +13:00
Michael Keller a763ea14b2
Merge pull request #9563 from mikeller/fixed_frsky_spi_rx_frame_handling
Fixed frame handling for FrSky SPI RX.
2020-03-10 00:32:10 +13:00
Michael Keller 28bd628a3b
Merge pull request #9565 from mikeller/switch_sbus_to_generic_frame_time
Switched SBus to use the generic last frame time function.
2020-03-10 00:31:27 +13:00
jflyper 87d2485f86 [H7] Initialize I2C peripheral clock sources
This has been left out with default which was okay, but do it
explicitly for clarity.
2020-03-09 12:30:35 +09:00
Michael Keller 55a0c0129a
Merge pull request #9560 from etracer65/add_msp_rc_smoothing_auto_factor_validation
Add validation to MSP for the rc_smoothing_auto_factor setting
2020-03-09 13:23:38 +13:00
Michael Keller 49cb39f248
Merge pull request #9558 from etracer65/revise_pid_process_denom_default_again
Revise pid_process_denom default logic - second try
2020-03-09 13:23:23 +13:00
Michael Keller 90228a5e30
Merge pull request #9550 from mikeller/add_crsf_rx_snr_display
Added option to display RX SNR dB for CRSF instead of RSSI dBm.
2020-03-09 13:23:07 +13:00
mikeller f217839362 Updated more documentation to match the template. 2020-03-09 13:00:35 +13:00
Michael Keller d741f92721
Merge pull request #9549 from etracer65/bmi270_support_final
Add support for Bosch BMI270 gyro/accelerometer sensor
2020-03-09 12:57:13 +13:00
Bruce Luckcuck 7f03b42ac0 Required modifications to the BoschSensortec/BMI270-Sensor-API library 2020-03-08 18:58:16 -04:00
Bruce Luckcuck 447cbac988 Add support for Bosch BMI270 gyro/accelerometer sensor 2020-03-08 18:56:50 -04:00
Michael Keller 2bcd8a3075
Merge pull request #9554 from TheIsotopes/patch-1
fixes wrong comparison operators
2020-03-09 02:14:54 +13:00
mikeller da5be59ff2 Switched SBus to use the generic last frame time function. 2020-03-08 18:55:45 +13:00
Michael Keller 6cbdf74d56
Merge pull request #9551 from mikeller/update_pre_push
Removed legacy targets from 'pre-push' target.
2020-03-08 18:34:46 +13:00
mikeller e387400970 Fixed frame handling for FrSky SPI RX. 2020-03-08 17:20:31 +13:00
mikeller 30b284b494 Added warning about pull requests from 'master'. 2020-03-08 14:08:30 +13:00
Bruce Luckcuck 15ec707a0b Add validation to MSP for the rc_smoothing_auto_factor setting
This is a workaround for a validation bug in configurator 10.6 where the user can enter an invalid value, immediately click "Save" and that value will be stored before the value is range-checked. Added validation to the MSP message processing to constrain the range to prevent a dangerous result.
2020-03-07 18:48:23 -05:00
Michael Keller 7e4d8c10ee
Merge pull request #9511 from mikeller/add_rc_frame_interval_measurement
Added protocol level RX frame rate measurement for FrSky FPort.
2020-03-08 12:42:22 +13:00
Bruce Luckcuck 6c5b78951a Revise pid_process_denom default logic - second try
This is a revision and partial revert of #9545.

While the previous version improved the behavior for non-8K gyros, it had some unfortunate side effects on the defaults and how they affected the output of the `diff`. Basically the problem is that in most cases the default value will end up getting adjusted during the first boot to work with the default low-speed motor protocol ONESHOT125. So if an appropriate default was originally set (like in the other PR) it shows up changed in the `diff` with default settings. The only workaround is to set the default to be the expected "corrected" value when ONESHOT125 is taken into account. This unfortunately reverts to the not so great behavior for gyros that have a sample rate < 8K, but that's unavoidable.

The inappropriate logic based on the `USE_` for various gyros being defined is still removed. This makes no sense in the unified targets context and was trying to determine if there's an SPI-connected gyro so that means it's going to run at 8K, but if not then it's going to be I2C and 2K, etc. This no longer makes sense.
2020-03-07 14:03:16 -05:00
TheIsotopes b895e91552
fixes wrong comparison operators
fixes #9553 made in #9546
2020-03-07 09:37:18 +01:00
mikeller a36c18dd88 Removed legacy targets from 'pre-push target. 2020-03-07 17:38:50 +13:00
mikeller d0cf12a52b Added option to display RX SNR dB for CRSF instead of RSSI dBm. 2020-03-07 17:29:21 +13:00
Michael Keller c002d04356
Merge pull request #9546 from etracer65/fix_cli_led_validation
Fix CLI LED command validation
2020-03-07 15:58:39 +13:00
Michael Keller e87c6fec52
Merge pull request #9545 from etracer65/pid_process_denom_default
Revise pid_process_denom default logic
2020-03-07 15:57:37 +13:00
Michael Keller a67df68f2c
Merge pull request #9544 from etracer65/simplify_pid_motor_pwm_validation
Simplify and improve motor protocol PID loop limiting
2020-03-07 15:56:22 +13:00
Michael Keller aea38be686
Merge pull request #9539 from Asizon/mspDynamicIdle
Add Dynamic Idle to msp
2020-03-07 15:54:00 +13:00
Michael Keller f0739906b2
Merge pull request #9530 from mikeller/display_custom_defaults_errors
Show errors when resetting to custom defaults.
2020-03-07 15:35:31 +13:00
Bruce Luckcuck 04836e4e93 Fix CLI LED command validation 2020-03-05 17:16:02 -05:00
Bruce Luckcuck 46e6c7cab9 Revise pid_process_denom default logic
Remove dependence on gyro type and base on MCU type.
2020-03-05 16:58:16 -05:00
Bruce Luckcuck 70e9544b5a Simplify and improve motor protocol PID loop limiting
Remove hardcoded speeds based on detected gyro type and use the gyro native sampling rate.

Add support for non-8K gyros. Previously the logic wouldn't work properly for non-8K gyro types.
2020-03-05 15:58:29 -05:00
mikeller ec5816eae0 Switched FPort to use RX frame deltas for refresh rate calculate. 2020-03-06 09:35:00 +13:00
mikeller dc5671f34c Added protocol level RX frame rate measurement for FrSky FPort. 2020-03-06 09:35:00 +13:00
mikeller 53318e5e4d Renamed the existing RC smoothing related functionality. 2020-03-06 09:35:00 +13:00
Michael Keller c29b125a59
Merge pull request #9538 from jflyper/bfdev-g4-transponder
[G4] Transponder support
2020-03-05 22:20:18 +13:00
Michael Keller 525e4e7c92
Merge pull request #9506 from IllusionFpv/quick-rates
quick rates system
2020-03-05 09:29:18 +13:00
Nicola De Pasquale fbcdeb5be6 quick rates 2020-03-04 13:45:56 +01:00
Michael Keller 4f7c8d154a
Merge pull request #9527 from mikeller/add_missing_acc_calibration_to_status
Add missing acc calibration to status
2020-03-05 00:39:57 +13:00
Asizon 9b1f91c5ff idle_min_rpm to msp 2020-03-04 10:47:06 +01:00
Michael Keller 960dbd646b
Merge pull request #9537 from jflyper/bfdev-camera-control-use-timerclock
[Camera Control] Use timerClock() instead of predefined constant
2020-03-04 22:39:58 +13:00
jflyper fcc68c45fa [G4] Transponder support (not tested) 2020-03-04 16:37:27 +09:00
Michael Keller f33dd32c33
Merge pull request #9495 from ctzsnooze/Actual-Rates
New Actual Rates model : set rates in deg/s, independently of each other
2020-03-04 12:54:13 +13:00
Michael Keller bf3270a2af
Merge pull request #9535 from jflyper/bfdev-remove-unused-dma-stream-channel-typedefs
Remove unused typedefs for DMA stream/channel
2020-03-04 12:41:54 +13:00
Michael Keller 5cf11bd810
Merge pull request #9531 from senatorperkins/H7EXTREME_MAG_SUPPORT
Added QMC-5883 magnetometer support to SPRACING H7 EXTREME target
2020-03-04 12:39:20 +13:00