Commit Graph

37 Commits

Author SHA1 Message Date
Martin Budden b8b9c95f57 Moved sensor global data into sensor_s structs 2016-12-01 17:47:17 +00:00
Martin Budden 590e569375 Changed gyro init and read functions to take a gyro_t* parameter.
Scaled gyro values to degrees per second in gyroUpdate.
2016-11-30 16:59:55 +00:00
Martin Budden 19901730fc Removed trailing spaces from device drivers 2016-11-11 08:11:48 +00:00
blckmn 58105c25ac Simplified Owner management 2016-11-10 18:56:13 +11:00
Sami Korhonen 6e51f2f9b2 F7 Cleanup 2016-10-21 08:51:03 +03:00
Sami Korhonen 1f8805cdf0 squash betaflightF7
Parts and driver boost from @npsm
2016-10-21 08:51:02 +03:00
kc10kevin dc4b4ac986 ICM-20689 Gyro 2016-09-14 07:33:32 -05:00
kc10kevin 57c24c6ee1 ICM-20689 Gyro 2016-09-13 19:44:36 -05:00
Martin Budden 541f4d4018 Directory rearrangement to reflect cleanflight changes 2016-08-07 13:44:00 +01:00
Martin Budden 58014f416e Removed #includes from header files 2016-08-07 01:28:17 +02:00
Martin Budden 141b369667 Removed trailing whitespace 2016-07-16 07:54:58 +01:00
Martin Budden ea283ab98c Converted tabs to spaces 2016-07-09 14:39:39 +01:00
blckmn 93ca58fb85 MPU index is not required. 2016-07-09 17:09:50 +10:00
blckmn 67d448d8ea Improved Resource command output. 2016-07-09 17:03:16 +10:00
J Blackman 9843d7ce2f Merge pull request #602 from martinbudden/bf_gyro_tidy
gyro sync and initialisation cleanup
2016-06-28 08:18:38 +10:00
Martin Budden 97fe5afd6c Converted tabs to spaces. 2016-06-27 19:26:02 +01:00
Martin Budden 4d238b27d5 Moved targetLooptime into gyro_t, tidied gyro_sync and gyro 2016-06-26 16:15:06 +01:00
blckmn 55a1876319 Renamed additional io to tag, and fixed issue identified by @martinbudden 2016-06-23 18:13:38 +10:00
blckmn 51a99e74c6 STM32F4: USARTS 4,5,6 added
Flag initialisation for motor_pwm_protocol
Fixes for AlienFlightF4 and timers
2016-06-08 05:43:28 +10:00
blckmn 7ca39bbde6 STM32F4: Drivers 2016-06-08 05:37:08 +10:00
blckmn 37e7b5ee4a Adjust interface for i2c to add requirement for device to be specified. 2016-06-03 21:20:11 +10:00
blckmn 928609e2bb Moving EXTI to new io
Updated i2c to use new io
2016-06-03 20:21:10 +10:00
Dominic Clifton b1ba72c162 Update MPU6050 so it works with later versions. 2016-02-02 23:36:26 +01:00
DTF UHF baa01cb914 Prevent startup crash on targets without any I2C sensors 2015-11-26 09:53:23 -05:00
borisbstyle b39beceb62 8khz Sampling option / preparation 2015-11-24 16:09:16 +01:00
borisbstyle 086e383602 Merge Cleanup for old CC3D INT Code
more merge errors CC3D
2015-10-16 13:30:02 +02:00
Dominic Clifton 4da387e93d More cleanup of MPU driver code. Support MPU INT on CC3D and Naze32
Rev6.

MPU6050 Correction From merge
2015-10-16 10:40:54 +02:00
henn1001 dbcfa5dc43 hack for cc3d interrupt 2015-10-07 21:17:12 +02:00
borisbstyle 12c9f65f43 Merge branch 'master' into betaflight
Conflicts:
	Makefile
	docs/Cli.md
	src/main/config/config.c
	src/main/drivers/accgyro_mpu3050.c
	src/main/drivers/accgyro_mpu6050.c
	src/main/drivers/accgyro_mpu6050.h
	src/main/drivers/accgyro_spi_mpu6000.c
	src/main/drivers/accgyro_spi_mpu6000.h
	src/main/drivers/accgyro_spi_mpu6500.c
	src/main/drivers/accgyro_spi_mpu6500.h
	src/main/drivers/barometer_bmp280.c
	src/main/drivers/sensor.h
	src/main/flight/pid.c
	src/main/mw.c
	src/main/rx/rx.c
	src/main/sensors/initialisation.c
	src/main/target/CC3D/target.h
2015-10-07 17:12:54 +02:00
Dominic Clifton 07d985ba5c More MPU cleanups. 2015-10-02 15:43:44 +01:00
Dominic Clifton aac13914f9 LPF setting is not needed to detect the gyro sensor, only when it's
initialised; now the lpf setting is passed to gyroInit().

This saves a bit of code size and ram as well as making the code
cleaner.
2015-10-02 15:43:44 +01:00
Dominic Clifton 06ceac0614 Remove unused variable warnings when no SPI sensors are used. 2015-10-02 15:43:44 +01:00
Dominic Clifton 85ba1eb0bd Add support for MPU6500 connected via I2C. 2015-10-02 15:43:44 +01:00
Dominic Clifton 678c0413cb Relocate and use some of the common MPU code from MPU6000 into
accgyro_mpu.c.
2015-10-02 15:43:44 +01:00
Dominic Clifton 0361d161fb Relocate and use some of the common MPU code from MPU6500 into
accgyro_mpu.c.
2015-10-02 15:43:44 +01:00
Dominic Clifton da46d9f1d2 Relocate and use some of the common MPU code from MPU3050 into
accgyro_mpu.c.
2015-10-02 15:43:44 +01:00
Dominic Clifton b46d56a5bd Relocate some of the common MPU code from MPU6050 into accgyro_mpu.c. 2015-10-02 15:43:44 +01:00