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

80 commits

Author SHA1 Message Date
jflyper
6c044829cc Mark unused acc/gyro support toward retirement. 2018-05-16 14:31:39 +09:00
blckmn
a9f74cd6df Removed excess trailing spaces before new lines on licenses. 2018-04-25 20:58:00 +10:00
blckmn
46fe22b4bd Direct license replacement 2018-04-22 09:22:46 +10:00
adrianmiriuta
c2898a4fd9 review of #4986 (#5422)
* review #4986 v1

* jfliper requested changes

* correction
2018-03-15 02:37:39 +13:00
Dominic Clifton
cde9a9517b SPRacingF7DUAL - Dual SIMULTANEOUS gyro support. (#5264)
* CF/BF - Set STM32F7 SPI FAST clock to 13.5Mhz - Gyros not stable at
27mhz.

* CF/BF - Initial SPRacingF7DUAL commit.

Support two simultaneous gyro support (code by Dominic Clifton and Martin Budden)
There are new debug modes so you can see the difference between each gyro.

Notes:
* spi bus instance caching broke spi mpu detection because the detection
tries I2C first which overwrites the selected bus instance when using
dual gyro.
* ALL other dual-gyro boards have one sensor per bus.  SPRacingF7DUAL is has two per bus and thus commit has a lot of changes to fix SPI/BUS/GYRO initialisation issues.

* CF/BF - Add SPRacingF4EVODG target.

This target adds a second gyro to the board using the SPI pads on the back of the board.

* CF/BF - Temporarily disable Gyro EXTI pin to allow NEO target to build.
2018-03-04 11:29:31 +13:00
Martin Budden
d90b42970c Acc fn/variable renames to align with iNav 2017-12-29 10:23:51 +00:00
Martin Budden
671382234a Enabled switch fallthrough checking by compiler 2017-12-23 19:46:40 +00:00
mikeller
b489d0ba9d Renamed 'parameter_group' to 'pg'. 2017-12-19 23:36:31 +13:00
Martin Budden
81ebdb38b6 Improved accgyro device structure alignment 2017-12-17 16:54:13 +00:00
Martin Budden
a33a82725e Add fast RAM support, CCM or TCM depending on processor 2017-12-16 17:42:35 +00:00
Martin Budden
c0b1572175 Fix to acc gyro accumulation code 2017-11-28 16:04:00 +00:00
Martin Budden
22c672fa7d Add acc and gyro accumulators to improve attitude estimation 2017-11-28 06:26:57 +00:00
Martin Budden
ed04a1f24a Improve ACC filter initialisation 2017-11-24 07:23:19 +00:00
brianlbalogh
b295a159b0 Add gyro rates and configurable FSR for ICM20649 (#4077) 2017-09-07 14:05:11 +01:00
Brian Balogh
afec0258c7 Add support for ICM-20649 acc/gyro 2017-09-01 10:57:54 -04:00
Martin Budden
3d4f0bb137 Whitespace tidy 2017-07-05 06:36:22 +01:00
blckmn
67d2c3ef25 Minor makefile change to support windows better
Removed uninitialised warnings
2017-07-02 06:55:14 +10:00
Martin Budden
23f158913e Moved time functions out of system.h into time.h 2017-05-26 14:03:28 +01:00
Martin Budden
6645d43949 Tidy of mixer and servo code 2017-05-16 20:13:14 +01:00
Martin Budden
83d49e503e Add Fn suffix to accgyro function pointers 2017-05-07 23:21:44 +01:00
Martin Budden
2493c214b0 Created subdirectories in drivers directory 2017-04-12 08:06:22 +01:00
Martin Budden
9a3cad9ca3 Further work on gyro SPI selection 2017-03-26 10:10:10 +01:00
Martin Budden
60c2b812d1 Added runtime setting of gyro SPI pin 2017-03-26 07:43:51 +01:00
DieHertz
d97a012eca Set acc_lpf_hz default back to 10 2017-03-17 02:56:51 +03:00
Martin Budden
1964362dce Removal of USE_PARAMETER_GROUPS 1 2017-03-09 22:03:59 +00:00
Martin Budden
dbfc355097 Added support for BMI160 gyro 2017-02-22 21:37:37 +00:00
Martin Budden
e4ae2526e0 Merge pull request #2451 from martinbudden/bf_pg_configs1
Added PG config definitions 1
2017-02-22 18:35:51 +00:00
Martin Budden
0bca49d8c4 Added PG config definitions 1 2017-02-22 09:43:05 +00:00
Maxim Strinzha
0dd699c5a7 Sparky 2.0 Accelerometer (fix mpu9250 detection) 2017-02-22 08:27:34 +03:00
blckmn
8e9be424ce Removed more target specific conditionals from the main codebase 2017-02-19 17:28:29 +11:00
Martin Budden
f2b423525d Split gyro device out of gyro sensor struct 2017-02-06 00:00:32 +00:00
Martin Budden
5851b21e4a Removed a number of static config pointers 2017-02-01 12:58:29 +00:00
Martin Budden
79d4b2146d Preparation for conversion to parameter groups 2017-02-01 08:46:19 +00:00
Martin Budden
8e79e8092e Fixed up whitespace 2017-01-22 22:42:45 +00:00
blckmn
102114758c Better representation of actual sensor (when using 6500 compatible sensors). 2017-01-01 18:37:54 +11:00
J Blackman
fb1ca88ebf Merge pull request #1850 from martinbudden/bf_gyro_reentrant
Made gyro device code reentrant
2016-12-29 05:33:46 +11:00
Martin Budden
42344a8fe6 Made gyro device code reentrant 2016-12-18 00:16:23 +00:00
Martin Budden
ee8a1676c4 Moved accelerometerTrims into accelerometerConfig() 2016-12-17 22:30:03 +00:00
Martin Budden
1d3bfc86d4 Updated sensor driver read signatures 2016-12-15 23:06:52 +00:00
Martin Budden
17494840a5 Moved gyro and acc detection code into init functions 2016-12-13 10:00:43 +00:00
Martin Budden
a47c073874 Used device pointer in detect functions 2016-12-07 09:16:42 +00:00
Martin Budden
4bb6820c42 Moved sensor detection into respective sensor modules 2016-12-05 15:26:14 +00:00
Martin Budden
60e2227396 Moved alignment from sensor into device 2016-12-05 06:49:14 +00:00
Martin Budden
b8b9c95f57 Moved sensor global data into sensor_s structs 2016-12-01 17:47:17 +00:00
Martin Budden
dc56f143f3 Changed alignSensors to have common src/dest 2016-11-20 07:46:58 +00:00
Martin Budden
58c85029d6 Removed unnecessary #includes 2016-10-26 05:15:26 +01:00
Martin Budden
a771280b50 Moved config.c from config directory to fc directory 2016-10-18 08:57:39 +01:00
Martin Budden
a257210b56 Split features into a separate module 2016-09-04 18:48:58 +01:00
Martin Budden
c077bacee6 Improved acc initialisation 2016-08-15 07:32:06 +01:00
Martin Budden
147a16a66d Whitespace and const correctness tidy 2016-08-11 17:44:54 +01:00