Lorenz Meier
90c4664dce
Merged status changes
2013-10-06 14:17:37 +02:00
Lorenz Meier
24648b5294
Minor cleanups in the drivers
2013-09-13 10:16:32 +02:00
Lorenz Meier
11530ac021
Merge remote-tracking branch 'origin/spi-device-locking' into fat-dma-spi
2013-09-13 09:56:01 +02:00
px4dev
19fdaf2009
Use the generic device::SPI locking strategy.
2013-09-12 23:56:53 -07:00
Lorenz Meier
d84fe2913e
Move IRQ restore to right position
2013-09-13 01:34:49 +02:00
Andrew Tridgell
4893509344
drivers: report error_count in drivers where possible
2013-09-12 09:26:49 +02:00
px4dev
cefc7ac00e
Rework the ringbuffer class so that it's not templated, and refactor its clients so they aren't dancing around the linker anymore.
2013-09-12 00:53:08 +02:00
Andrew Tridgell
4b4f4fee5b
lsm303d: convert to using RingBuffer
2013-09-12 00:52:53 +02:00
Lorenz Meier
3a326cb467
Guard probe / reset against other SPI drivers
2013-09-11 22:16:29 +02:00
Andrew Tridgell
fdbc09e2a5
avoid counters going above limit in INCREMENT()
...
when using INCREMENT() the counter would temporarily read equal to
limit, which could cause an issue if the task is preempted.
(this macro should be in a common header, though which header?)
2013-08-28 11:16:30 +02:00
Lorenz Meier
fab110d21f
Moved math library to library dir, improved sensor-level HIL, cleaned up geo / conversion libs
2013-08-21 18:13:01 +02:00
Julian Oes
1ede95d252
L3GD20 and LSM303D reset and range config working properly now
2013-08-21 14:21:54 +02:00
Julian Oes
fc24037b03
Changed range handling of LSM303D once again, added defines for default values
2013-08-21 12:37:06 +02:00
Julian Oes
408b29ba61
Don't store m/s^2 and G at the same time
2013-08-21 08:40:51 +02:00
Julian Oes
f5c92314f1
Improved LSM303D driver, plus some fixes to the HMC5883
2013-08-20 20:02:06 +02:00
Julian Oes
408eaf0ad1
Add ioctl to find out if mag is external or onboard
2013-08-18 09:24:27 +02:00
Lorenz Meier
cbb5ce8f59
Fixed startup behavior for PX4 autostart
2013-08-11 16:54:00 +02:00
Lorenz Meier
ca9a11a586
Indendation fixes
2013-08-05 23:09:02 +02:00
Andrew Tridgell
26204496b6
Merged LSM303D lowpass
2013-08-04 15:49:34 +02:00
Andrew Tridgell
686edfefb8
Removed LSM303D filter
2013-08-04 15:47:35 +02:00
Lorenz Meier
9499e48a52
Fixed setting mag queue depth
2013-08-04 01:52:22 +02:00
px4dev
9d6ec6b365
Restructure things so that the PX4 configs move out of the NuttX tree, and most of the PX4-specific board configuration data moves out of the config and into the board driver.
...
Rename some directories that got left behind in the great board renaming.
2013-08-02 22:34:55 -07:00
Julian Oes
374d204b92
Enable BDU instead of CONT mode
2013-07-18 19:48:15 +02:00
Julian Oes
e309b9ab4a
Disable IIR filter for now
2013-07-18 19:45:44 +02:00
Julian Oes
da152e148d
Added iirFilter to LSM303D
2013-07-18 16:15:43 +02:00
Julian Oes
f4df4a4e08
Forgot to add current samplerate to constructor
2013-07-18 15:30:39 +02:00
Julian Oes
eb28f5996f
Some lost LSM303D fixes for range and scale
2013-07-18 15:21:39 +02:00
Julian Oes
f5f7b3f6dd
Added scale ioctl to LSM303D driver
2013-07-18 14:42:08 +02:00
Julian Oes
b7e947cb3d
Anti-Aliasing frequency of the LSM303D can now be read too, not just written
2013-04-17 12:41:56 -07:00
Julian Oes
3469fefe11
Checked axes of LSM303D
2013-04-09 23:34:27 +02:00
Julian Oes
1d327c42a6
Mag sample rate was not actually changed by an ioctl
2013-04-09 23:34:19 +02:00
Julian Oes
eb3d6f228c
Added some functions for changing rates etc (WIP)
2013-04-09 23:34:08 +02:00
px4dev
2557f0d2de
Rename the 'device' directory back to 'drivers', it's less confusing that way.
...
Move the fmuv2 board driver out into the new world.
2013-04-06 23:04:32 -07:00