1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-24 16:55:36 +03:00
Commit graph

24 commits

Author SHA1 Message Date
Martin Budden
541f4d4018 Directory rearrangement to reflect cleanflight changes 2016-08-07 13:44:00 +01:00
Martin Budden
7bbb4e59f9 Removed dependencies on sensors/ 2016-08-07 01:14:13 +02:00
Martin Budden
1c997abaaf Moved function declarations out of main. Tidied drivers. 2016-08-02 15:11:35 +01:00
Martin Budden
3d8ee50934 Removed unnecesary #includes from drivers 2016-07-11 18:45:35 +01:00
blckmn
5a10e75551 Update hmc5883l to use new IO 2016-06-28 10:27:26 +10:00
Martin Budden
97fe5afd6c Converted tabs to spaces. 2016-06-27 19:26:02 +01:00
blckmn
37e7b5ee4a Adjust interface for i2c to add requirement for device to be specified. 2016-06-03 21:20:11 +10: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
Dominic Clifton
aa3e4501bd Fix hmc5883 detection broken in c6f5b98a79 2015-09-22 23:21:33 +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
Dominic Clifton
80beb9c8d8 SPRacingF3/Naze32 Rev 5 - Add support for MAG data ready EXTI handler. 2015-05-07 09:40:35 +01:00
Dominic Clifton
3e73b3de53 Add some const correctness to mag initialisation.
See #582.
2015-03-04 09:04:59 +00:00
Pierre Hugo
be03ed95fa Renamed min, max and abs macros to MIN MAX and ABS. 2015-01-23 22:40:00 -08:00
Dominic Clifton
650389afb6 Disable ADC initialisation on CJMCU. Replace MASSIVEF3 with SPRACINGF3.
Conditional VCP code inclusion.  Other minor F1/F3 cleanups.
2015-01-20 23:33:03 +01:00
Dominic Clifton
183c5f8e16 Add MPU9150 mag support and mag autodetection. Add AK8975 mag driver.
Note: not working on the sparky, MPU9150 needs passthough enabling but
when enabled the mag and gyro won't ack on the default addresses.  Needs
further investigation.
2014-12-21 23:40:48 +00:00
Kyle Manna
c806046181 perms: Remove execute bit on source files
* Remove the execute bit on source files.
* No functional change.
2014-11-26 10:13:29 -06:00
Dominic Clifton
cf643b98c8 Use Naze hardware revision when initialising hmc5883. The driver is not
not naze specific anymore.
2014-10-15 22:42:07 +01:00
Dominic Clifton
1af58defa2 Fix compiler warning when building for non NAZE targets that use the
HMC5883 compass driver.
2014-09-26 14:11:33 +01:00
Dominic Clifton
13b1d28f6e Disable HMC5883L MAG Data Ready GPIO signal line initialisation except
on naze.

Note: The signal does not appear to be used by the code anyway.
2014-09-26 02:12:29 +01:00
Dominic Clifton
d60183d91d Normalize all the line endings 2014-09-15 23:40:17 +01:00
Dominic Clifton
e867af8c4b Correct project name in GPL notices. 2014-06-05 00:47:47 +01:00
Dominic Clifton
0bbcd6570f Updated source files to include the GPL v3 notices. Include a copy of
the GPL v3.
2014-06-04 16:48:23 +01:00
Dominic Clifton
32622da0ab Continuation of extracting peripheral configuration into drivers. 2014-06-04 14:53:34 +01:00
Dominic Clifton
d19a5e7046 Cleanup project structure. Update unit test Makefile to place object
files in obj/test
2014-05-31 22:43:06 +01:00
Renamed from src/drivers/compass_hmc5883l.c (Browse further)