aboutsummaryrefslogtreecommitdiff
path: root/src/drivers
Commit message (Collapse)AuthorAgeFilesLines
* Dev info: Reflect address changesLorenz Meier2015-01-031-0/+1
|
* HMC5883: Fix I2C operationLorenz Meier2015-01-032-9/+23
|
* Support for HMC5983, which can also be attached via SPILorenz Meier2015-01-035-118/+539
|
* Support for 2nd baroLorenz Meier2015-01-022-17/+5
|
* Hackery on option parsing to make MS5611 complyLorenz Meier2015-01-021-3/+9
|
* Allow access to both device handles, make external use a special handleLorenz Meier2015-01-021-22/+48
|
* Allow to get access to dev nameLorenz Meier2015-01-021-0/+7
|
* MS5611: Allow two instancesLorenz Meier2015-01-021-15/+45
|
* lsm303d: detect large fixed values and report an errorAndrew Tridgell2015-01-021-5/+44
| | | | | | we have logs where the lsm303d gets large fixed values for long periods. This will detect that error case and raise error_count so the higher level sensor integration code can choose another sensor
* ll40ls: fixed exit code on external sensor startup failureAndrew Tridgell2015-01-011-0/+3
|
* lsm303d: fixed build warningAndrew Tridgell2015-01-011-0/+1
|
* l3gd20: fixed build warningAndrew Tridgell2015-01-011-0/+1
|
* mpu6000: removed unsafe printf in interrupt contextAndrew Tridgell2015-01-011-38/+4
| | | | | | | instead delay 3ms between register writes. This seems to give a quite high probability of correctly resetting the sensor, and does still reliably detect the sensor going bad, which is the most important thing in this code
* lsm303d: show all perf counters in "info"Andrew Tridgell2015-01-011-0/+2
|
* lsm303d: check DRDY after check_registers()Andrew Tridgell2015-01-011-13/+14
| | | | this allows recovery from a state where DRDY is not set
* lsm303d: removed unsafe printf in interrupt contextAndrew Tridgell2015-01-011-8/+0
|
* lsm303d: added two more checked registersAndrew Tridgell2015-01-011-3/+5
| | | | these are key for DRDY behaviour
* l3m303d: added testerror commandAndrew Tridgell2015-01-011-2/+34
| | | | useful for testing error handling
* l3gd20: fixed reporting of error countAndrew Tridgell2015-01-011-1/+1
|
* l3gd20: check DRDY after check_registers() is calledAndrew Tridgell2015-01-011-11/+12
| | | | this allows us to recover from an error that disables data ready
* l3gd20: removed printf in interrupt contextAndrew Tridgell2015-01-011-8/+0
| | | | this is not safe
* l3gd20: added testerror commandAndrew Tridgell2015-01-011-2/+33
| | | | useful for testing error handling
* l3gd20: use the I2C disable bit on l3gd20HAndrew Tridgell2014-12-301-2/+9
| | | | | this seems to prevent a mpu6000 reset from causing an issue on the l3gd20H
* l3gd20: added "l3gd20 regdump" commandAndrew Tridgell2014-12-301-2/+41
|
* mpu6000: make register fixup much closer to a reset()Andrew Tridgell2014-12-301-5/+37
| | | | this may help automatic reset on the faulty boards
* mpu6000: wait for 10ms after a full resetAndrew Tridgell2014-12-301-7/+24
| | | | this prevents the mpu6000 getting in a really weird state!
* mpu6000: added "mpu6000 testerror" commandAndrew Tridgell2014-12-301-2/+45
| | | | used to generate a error case for reset testing
* mpu6000: monitor some more registersAndrew Tridgell2014-12-301-2/+6
|
* mpu6000: added factory self-test functionAndrew Tridgell2014-12-301-18/+208
| | | | | this follows the factory calibration self-test method in the datasheet to see if the sensor still has the same calibration it had in the factory
* l3gd20: added register checkingAndrew Tridgell2014-12-301-24/+122
| | | | this checks at runtime that key registers have correct values
* mpu6000: try resetting the mpu6000 up to 5 timesAndrew Tridgell2014-12-301-23/+39
| | | | | this mirrors the ardupilot driver. We have seen situations where the mpu6000 on the Pixhawk comes up in SLEEP mode, despite a reset
* lsm303d: replace old register checking with new check_registers() methodAndrew Tridgell2014-12-301-222/+125
| | | | | | | | this uses the same method as is now used in the MPU6000 to check that the sensor retains its correct values Conflicts: src/drivers/lsm303d/lsm303d.cpp
* mpu6000: monitor some key registers for correct valuesAndrew Tridgell2014-12-301-10/+132
| | | | | this will catch both bad SPI bus comms and a sensor that has been reset causing incorrect configuration.
* Minor re-additionM.H.Kabir2014-12-301-0/+3
|
* Merge remote-tracking branch 'upstream/master' into flow_orientM.H.Kabir2014-12-305-6/+602
|\ | | | | | | | | Conflicts: src/drivers/px4flow/px4flow.cpp
| * Clean up docs in PX4FLOW driverLorenz Meier2014-12-301-5/+6
| |
| * batt_smbus: add searchRandy Mackay2014-12-301-3/+38
| |
| * batt_smbus: add get_PECRandy Mackay2014-12-301-7/+77
| |
| * batt_smbus: minor format fixRandy Mackay2014-12-301-1/+1
| |
| * batt_smbus: remove redundant ORB_DECLARERandy Mackay2014-12-301-3/+0
| |
| * batt_smbus: remove sleep before I2C transferRandy Mackay2014-12-301-3/+0
| |
| * batt_smbus: driver for smart batteryRandy Mackay2014-12-303-0/+496
| |
| * i2c: const get_addressRandy Mackay2014-12-301-1/+1
| |
* | fix Z rotationM.H.Kabir2014-12-271-2/+3
| |
* | Add rotation switching to flow from mavlinkM.H.Kabir2014-12-271-1/+1
| |
* | Add support for rotations of PX4flowM.H.Kabir2014-12-273-8/+31
|/
* Rework HoTT into a proper library, which fixes parallel build breakageLorenz Meier2014-12-265-16/+53
|
* Added HMC chip select supportLorenz Meier2014-12-262-0/+17
|
* Merged master into indoor branchLorenz Meier2014-12-2620-230/+1324
|\
| * Merge pull request #1527 from dagar/WerrorLorenz Meier2014-12-259-8/+11
| |\ | | | | | | turn on -Werror and fix resulting errors