Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | l3gd20: fixed a warning | Andrew Tridgell | 2013-12-13 | 1 | -1/+1 |
| | |||||
* | Merged all of the LSM303D debug changes | Lorenz Meier | 2013-12-10 | 1 | -17/+39 |
|\ | |||||
| * | drv_hrt: added note on why an uninitialised hrt_call is safe | Andrew Tridgell | 2013-12-10 | 1 | -1/+7 |
| | | |||||
| * | l3gd20: added rescheduling and error checking | Andrew Tridgell | 2013-12-10 | 1 | -1/+28 |
| | | |||||
| * | mpu6000: treat all zero data from mpu6k as bad | Andrew Tridgell | 2013-12-10 | 1 | -6/+19 |
| | | |||||
| * | ms5611: check for all zero in the prom | Andrew Tridgell | 2013-12-10 | 1 | -0/+7 |
| | | | | | | | | when SPI CLK fails we get all zero data | ||||
| * | mpu6000: close fds before exit | Andrew Tridgell | 2013-12-10 | 1 | -0/+4 |
| | | |||||
| * | lsm303d: close fds before exit | Andrew Tridgell | 2013-12-10 | 1 | -0/+9 |
| | | |||||
| * | l3gd20: close fds before exit | Andrew Tridgell | 2013-12-10 | 1 | -0/+6 |
| | | |||||
| * | mpu6000: use register_class_devname() | Andrew Tridgell | 2013-12-10 | 1 | -43/+71 |
| | | |||||
| * | lsm303d: use register_class_devname() | Andrew Tridgell | 2013-12-10 | 1 | -59/+62 |
| | | |||||
| * | l3gd20: use register_class_devname() | Andrew Tridgell | 2013-12-10 | 1 | -17/+20 |
| | | |||||
| * | hmc5883: use register_class_devname() | Andrew Tridgell | 2013-12-10 | 1 | -12/+23 |
| | | |||||
| * | device: added register_class_devname() API | Andrew Tridgell | 2013-12-10 | 2 | -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 regdump | Andrew Tridgell | 2013-12-10 | 1 | -0/+2 |
| | | |||||
| * | Add also default descriptor for alternate sensors | Lorenz Meier | 2013-12-10 | 1 | -1/+21 |
| | | |||||
| * | Made all usual suspects default to their custom names and only register the ↵ | Lorenz Meier | 2013-12-10 | 4 | -20/+60 |
| | | | | | | | | default name if its not already taken by someone else | ||||
| * | ms5611: give cleaner SPI traces | Andrew Tridgell | 2013-12-10 | 1 | -6/+8 |
| | | | | | | | | this makes logic traces cleaner by zeroing extra bytes written | ||||
| * | ms5611: removed unused variable | Andrew Tridgell | 2013-12-10 | 1 | -1/+0 |
| | | |||||
| * | ms5611: change bus speed to 5MHz | Andrew Tridgell | 2013-12-10 | 1 | -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 measurements | Andrew Tridgell | 2013-12-10 | 1 | -0/+12 |
| | | | | | | | | | | this prevents double reads of sensor data, and missing samples from the accel | ||||
| * | px4fmu2: enable SPI sensor DRDY pins | Andrew Tridgell | 2013-12-10 | 1 | -0/+5 |
| | | |||||
| * | drv_hrt: added hrt_call_init() and hrt_call_delay() APIs | Andrew Tridgell | 2013-12-10 | 2 | -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 Tridgell | 2013-12-10 | 1 | -2/+10 |
| | | |||||
| * | lsm303d/l3gd20: change filters to 50Hz analog on-chip filters | Andrew Tridgell | 2013-12-10 | 2 | -4/+14 |
| | | | | | | | | | | after discussion with Leonard these analog on-chip filters should be at 50Hz | ||||
| * | l3gd20: use highest possible on-chip filter bandwidth | Andrew Tridgell | 2013-12-10 | 1 | -6/+8 |
| | | | | | | | | this allows the software filter to do its job properly | ||||
| * | lsm303d: init filter to 773 Hz | Andrew Tridgell | 2013-12-10 | 1 | -1/+1 |
| | | |||||
| * | lsm303d: changed tones for accel fail to 3 tones | Andrew Tridgell | 2013-12-10 | 1 | -6/+18 |
| | | | | | | | | distinct tones for init fail, post-boot fail and recovery | ||||
| * | lsm303d: make log distinctive with i2c disable included | Andrew Tridgell | 2013-12-10 | 1 | -1/+1 |
| | | |||||
| * | FMUv2: don't config ADC pins that are now used for MPU6k CS and other uses | Andrew Tridgell | 2013-12-10 | 1 | -3/+3 |
| | | |||||
| * | FMUv2: change CS pins to 2MHz | Andrew Tridgell | 2013-12-10 | 1 | -5/+5 |
| | | | | | | | | this gives cleaner traces | ||||
| * | lsm303d: cleanup logic traces by pre-zeroing all transfers | Andrew Tridgell | 2013-12-10 | 1 | -0/+2 |
| | | |||||
| * | lsm303d: get cleaner logic traces by gathering all regs more regularly | Andrew Tridgell | 2013-12-10 | 1 | -23/+19 |
| | | |||||
| * | lsm303d: added I2C disable based on method from ST engineering support | Andrew Tridgell | 2013-12-10 | 1 | -0/+21 |
| | | |||||
| * | l3gd20: added I2C disable based on method from ST engineering support | Andrew Tridgell | 2013-12-10 | 1 | -0/+17 |
| | | |||||
| * | FMUv2: set MPU6000 CS as initially de-selected | Andrew Tridgell | 2013-12-10 | 1 | -0/+1 |
| | | |||||
| * | FMUv2: added define for MPU DRDY pin | Andrew Tridgell | 2013-12-10 | 1 | -0/+1 |
| | | |||||
| * | FMUv2: added support for MPU6000 on v2.4 board | Andrew Tridgell | 2013-12-10 | 2 | -0/+15 |
| | | |||||
| * | lsm303d: zero-fill register reads | Andrew Tridgell | 2013-12-10 | 1 | -0/+1 |
| | | |||||
| * | lsm303d: show regs at both high and low bus speed on error | Andrew Tridgell | 2013-12-10 | 1 | -1/+10 |
| | | |||||
| * | lsm303d: always log first ARB and REG values | Andrew Tridgell | 2013-12-10 | 1 | -2/+4 |
| | | |||||
| * | lsm303d: log mag regs too | Andrew Tridgell | 2013-12-10 | 1 | -2/+4 |
| | | |||||
| * | lsm303d: fixed TEMP_H register define | Andrew Tridgell | 2013-12-10 | 1 | -1/+1 |
| | | |||||
| * | lsm303d: added detailed logging of accels on extremes | Andrew Tridgell | 2013-12-10 | 1 | -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 loop | Andrew Tridgell | 2013-12-10 | 2 | -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 accessed | Andrew Tridgell | 2013-12-10 | 1 | -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() API | Andrew Tridgell | 2013-12-10 | 2 | -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 Tridgell | 2013-12-10 | 1 | -11/+44 |
| | | |||||
| * | lsm303d: define some more register addresses | Andrew Tridgell | 2013-12-10 | 1 | -13/+38 |
| | | |||||
| * | lsm303d: added 'lsm303d regdump' command | Andrew Tridgell | 2013-12-10 | 1 | -1/+52 |
| | | | | | | | | useful for diagnosing issues |