aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* l3gd20: fixed a warningAndrew Tridgell2013-12-131-1/+1
|
* Merged all of the LSM303D debug changesLorenz Meier2013-12-101-17/+39
|\
| * drv_hrt: added note on why an uninitialised hrt_call is safeAndrew Tridgell2013-12-101-1/+7
| |
| * l3gd20: added rescheduling and error checkingAndrew Tridgell2013-12-101-1/+28
| |
| * mpu6000: treat all zero data from mpu6k as badAndrew Tridgell2013-12-101-6/+19
| |
| * ms5611: check for all zero in the promAndrew Tridgell2013-12-101-0/+7
| | | | | | | | when SPI CLK fails we get all zero data
| * mpu6000: close fds before exitAndrew Tridgell2013-12-101-0/+4
| |
| * lsm303d: close fds before exitAndrew Tridgell2013-12-101-0/+9
| |
| * l3gd20: close fds before exitAndrew Tridgell2013-12-101-0/+6
| |
| * mpu6000: use register_class_devname()Andrew Tridgell2013-12-101-43/+71
| |
| * lsm303d: use register_class_devname()Andrew Tridgell2013-12-101-59/+62
| |
| * l3gd20: use register_class_devname()Andrew Tridgell2013-12-101-17/+20
| |
| * hmc5883: use register_class_devname()Andrew Tridgell2013-12-101-12/+23
| |
| * device: added register_class_devname() APIAndrew Tridgell2013-12-102-0/+58
| | | | | | | | | | this allows drivers to register generic device names for a device class, with automatic class instance handling
| * lsm303d: dump I2C control registers in regdumpAndrew Tridgell2013-12-101-0/+2
| |
| * Add also default descriptor for alternate sensorsLorenz Meier2013-12-101-1/+21
| |
| * Made all usual suspects default to their custom names and only register the ↵Lorenz Meier2013-12-104-20/+60
| | | | | | | | default name if its not already taken by someone else
| * ms5611: give cleaner SPI tracesAndrew Tridgell2013-12-101-6/+8
| | | | | | | | this makes logic traces cleaner by zeroing extra bytes written
| * ms5611: removed unused variableAndrew Tridgell2013-12-101-1/+0
| |
| * ms5611: change bus speed to 5MHzAndrew Tridgell2013-12-101-1/+1
| | | | | | | | | | | | | | | | this gives 5MHz SPI bus speed (by asking for 6MHz due to timer granularity). Tests with a logic analyser show that the ms5611 is actually more reliable at 5MHz than lower speeds
| * lsm303d: use DRDY pins to automatically reschedule measurementsAndrew Tridgell2013-12-101-0/+12
| | | | | | | | | | this prevents double reads of sensor data, and missing samples from the accel
| * px4fmu2: enable SPI sensor DRDY pinsAndrew Tridgell2013-12-101-0/+5
| |
| * drv_hrt: added hrt_call_init() and hrt_call_delay() APIsAndrew Tridgell2013-12-102-1/+32
| | | | | | | | | | | | | | | | | | hrt_call_init() can be used to initialise (zero) a hrt_call structure to ensure safe usage. The hrt_call_every() interface calls this automatically. hrt_call_delay() can be used to delay a current callout by the given number of microseconds
| * l3gd20: added retries to disable_i2c()Andrew Tridgell2013-12-101-2/+10
| |
| * lsm303d/l3gd20: change filters to 50Hz analog on-chip filtersAndrew Tridgell2013-12-102-4/+14
| | | | | | | | | | after discussion with Leonard these analog on-chip filters should be at 50Hz
| * l3gd20: use highest possible on-chip filter bandwidthAndrew Tridgell2013-12-101-6/+8
| | | | | | | | this allows the software filter to do its job properly
| * lsm303d: init filter to 773 HzAndrew Tridgell2013-12-101-1/+1
| |
| * lsm303d: changed tones for accel fail to 3 tonesAndrew Tridgell2013-12-101-6/+18
| | | | | | | | distinct tones for init fail, post-boot fail and recovery
| * lsm303d: make log distinctive with i2c disable includedAndrew Tridgell2013-12-101-1/+1
| |
| * FMUv2: don't config ADC pins that are now used for MPU6k CS and other usesAndrew Tridgell2013-12-101-3/+3
| |
| * FMUv2: change CS pins to 2MHzAndrew Tridgell2013-12-101-5/+5
| | | | | | | | this gives cleaner traces
| * lsm303d: cleanup logic traces by pre-zeroing all transfersAndrew Tridgell2013-12-101-0/+2
| |
| * lsm303d: get cleaner logic traces by gathering all regs more regularlyAndrew Tridgell2013-12-101-23/+19
| |
| * lsm303d: added I2C disable based on method from ST engineering supportAndrew Tridgell2013-12-101-0/+21
| |
| * l3gd20: added I2C disable based on method from ST engineering supportAndrew Tridgell2013-12-101-0/+17
| |
| * FMUv2: set MPU6000 CS as initially de-selectedAndrew Tridgell2013-12-101-0/+1
| |
| * FMUv2: added define for MPU DRDY pinAndrew Tridgell2013-12-101-0/+1
| |
| * FMUv2: added support for MPU6000 on v2.4 boardAndrew Tridgell2013-12-102-0/+15
| |
| * lsm303d: zero-fill register readsAndrew Tridgell2013-12-101-0/+1
| |
| * lsm303d: show regs at both high and low bus speed on errorAndrew Tridgell2013-12-101-1/+10
| |
| * lsm303d: always log first ARB and REG valuesAndrew Tridgell2013-12-101-2/+4
| |
| * lsm303d: log mag regs tooAndrew Tridgell2013-12-101-2/+4
| |
| * lsm303d: fixed TEMP_H register defineAndrew Tridgell2013-12-101-1/+1
| |
| * lsm303d: added detailed logging of accels on extremesAndrew Tridgell2013-12-101-2/+163
| | | | | | | | | | this will log accel values and registers to /fs/microsd/lsm303d.log if any extreme values are seen
| * px4io: moved blue heartbeat LED to main loopAndrew Tridgell2013-12-102-15/+14
| | | | | | | | | | this allows us to tell if the main loop is running by looking for a blinking blue LED
| * mpu6000: change bus speed based on registers being accessedAndrew Tridgell2013-12-101-1/+22
| | | | | | | | | | this ensures we follow the datasheet requirement of 1MHz for general registers and up to 20MHz for sensor and int status registers
| * SPI: added set_frequency() APIAndrew Tridgell2013-12-102-0/+17
| | | | | | | | | | this allows the bus speed to be changed on the fly by device drivers. This is needed for the MPU6000
| * lsm303d: print more registers in "lsm303d regdump"Andrew Tridgell2013-12-101-11/+44
| |
| * lsm303d: define some more register addressesAndrew Tridgell2013-12-101-13/+38
| |
| * lsm303d: added 'lsm303d regdump' commandAndrew Tridgell2013-12-101-1/+52
| | | | | | | | useful for diagnosing issues