Commit Graph

103 Commits

Author SHA1 Message Date
Martin Budden 8eaf0b628d Fixed fake sensors initialisation warnings. 2016-06-23 11:01:50 +01:00
blckmn 55a1876319 Renamed additional io to tag, and fixed issue identified by @martinbudden 2016-06-23 18:13:38 +10:00
Martin Budden e9a46c6ebb Cleanup of acc device drivers extern usage CF PR#2117 2016-06-16 18:09:05 +01:00
blckmn b0dd16b3be Fixed CJMCU build fail 2016-06-15 13:29:00 +10:00
blckmn 251b3d7e3c Moved target specific code out of initialisation.c 2016-06-15 08:24:58 +10:00
blckmn 96757c18a2 STM32F4: Main, Sensors, io 2016-06-08 05:36:46 +10:00
blckmn 928609e2bb Moving EXTI to new io
Updated i2c to use new io
2016-06-03 20:21:10 +10:00
sblakemore 0a3bf6e991 Add SINGULARITY target 2016-05-31 10:50:56 +10:00
JOhn Aughey 88683a4da3 Setting gyro scale for fake sensors. 2016-05-06 10:18:10 -05:00
JOhn Aughey 70130a1bcb Allowing the fake gyro and accel values to be set externally 2016-05-03 17:47:16 -05:00
borisbstyle 5ffb3b5068 Revert "Merge pull request #372 from aughey/betaflight"
This reverts commit a6a5f50ffb, reversing
changes made to 9cc5503851.
2016-05-04 00:00:04 +02:00
JOhn Aughey 091aa24249 For fake gyro/acc, set the output to an fake variable.
For testing, the gyros and accelerometer values might needed
to be artifically set.  This change allows a testing loop to
set the gyro and acc to values through a global variable.
2016-05-02 09:47:36 -05:00
DTF UHF 9386841abc Initial commit of DTFc.
Adds support for Invensense ICM-20608-G and BMP280 SPI mode.
2016-04-08 16:35:03 -04:00
borisbstyle 3cad4793e9 SPRACINGF3EVO initial support 2016-04-08 11:18:07 +02:00
borisbstyle cdb671b0d6 Configurable gyro Denominator when gyro_lpf set to OFF 2016-02-06 13:09:40 +01:00
Michael Jakob 47f1d7e955 SPI3 fix
reintroduce SPI timeout to avoid driver blockage
AlienFlight related fixes
2016-02-05 22:14:49 +01:00
Dominic Clifton 52d97869b8 SPRacingF3Mini - Initial support for new target. 2016-02-02 23:36:28 +01:00
Michael Jakob 7634e4c635 AlienFligth F3 V2 support
Updated SPI driver (SPI3 on F3 targets)
AK8963 Mag support (part of MPU9250)
MPU9250 SPI support via MPU6500 driver
Updated LED driver for alternative LED sets
Enable gyro intterupt for AlienFlight F3 targets
Update AlienWii/AlienFlight documentation
Rename AlienWii to AlienFlight
2016-02-02 23:31:55 +01:00
cmenard d174314692 Add Lux target 2016-02-02 23:03:08 +01:00
borisbstyle b0d3db2456 Afromini NAZE Alias target // rev5 override 2015-12-06 23:58:23 +01:00
borisbstyle b39beceb62 8khz Sampling option / preparation 2015-11-24 16:09:16 +01:00
borisbstyle eb138dc601 COLIBRI_RACE MPU_DATA_READY Handler
Colibri Race MPU INT support

revert some things

revert more

Update Colibri Race Binaries

Update target.h Colibri_race

Update Target.h
2015-10-16 12:41:49 +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
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
Richard Lehey 501c83f851 Add support for new BMP280 barometer 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
borisbstyle 0539abc649 Dterm scaling correction // Code cleanup 2015-09-21 00:19:06 +02:00
borisbstyle 0501e5ff91 Code Cleanup
More code cleanup and BUMP EEPROM

Code Cleanup

Fix loop trigger
2015-09-19 01:37:48 +02:00
borisbstyle 4cc0156f5b Merge branch 'henn1001-betaflight' into betaflight 2015-09-19 00:17:07 +02:00
hrrr 626fffb712 Sparky updates 2015-09-18 23:49:14 +02:00
henn1001 fe717dfcc6 Fixed IRQ to EXTI3_IRQHandler
Changed IRQ functionname - no handler needed
2015-09-18 18:46:54 +02:00
henn1001 99e94a818c Added MPU6000 interrupt, work in progress 2015-09-18 13:48:45 +02:00
borisbstyle dae052632c Merge branch 'master' into betaflight
Conflicts:
	src/main/drivers/accgyro_mpu3050.c
	src/main/drivers/accgyro_mpu6050.c
	src/main/drivers/accgyro_spi_mpu6000.c
	src/main/drivers/accgyro_spi_mpu6500.c
	src/main/drivers/sensor.h
2015-09-15 23:36:40 +02:00
Dominic Clifton c6f5b98a79 Improve failure LED status flashing. Now users can identify and report
hardware failures by counting the number of long flashes.

Fix up sensor read API so that code that uses sensors can detect
malfunctions.

If a failure mode occurs in a debug mode the code reboots the system
rather than rebooting to the bootloader.
2015-09-12 01:33:19 +01:00
borisbstyle 26f89b74bd Configurable Baro Type
We can disable/configure mag, acc, but why not baro?

ident
2015-09-10 02:22:50 +01:00
borisbstyle a0ac565ff5 Merge remote-tracking branch 'motolab/motolab-integration' into betaflight 2015-09-05 15:11:38 +02:00
borisbstyle 5390cdc804 Selectable BARO (set baro_hardware)
Disabling baro will boost performance on FULL boards
2015-09-02 00:30:51 +02:00
borisbstyle 41895bc1af New Clli params RC Smoothing and sync_gyro_to_loop 2015-09-02 00:30:46 +02:00
borisbstyle 26deeb8ff6 Loop synced to Gyro
Remove double MPU_RA_PWR_MGMT_1

Looptime to Gyro refresh rate

disable 2khz when acc used for F3

Gyro sync code improvement

doc change
2015-09-02 00:30:39 +02:00
Richard Lehey 637fd64f36 Add support for new BMP280 barometer, modified files 2015-09-02 00:30:33 +02:00
Moto Moto 2e351b0991 Add MOTOLAB build target and associated source files 2015-08-23 19:42:18 -05:00
Larry (TBS) 3b1f423c49 COLIBRI RACE support 2015-08-20 19:18:10 +01:00
Mauro Mombelli 9277a8b7bf fixed a parameter error in unit test 2015-06-28 12:06:32 +01:00
Michael Hope 920cac5253 various: re-work designated initialisers to work with G++
G++ supports a more limited version of designated initialisers.
Reorder fields to be in the right order.  Make nested initialisers
explicit.

Signed-off-by: Michael Hope <mlhx@google.com>
2015-06-04 22:34:27 +02:00