7 Commits

Author SHA1 Message Date
Andrew Tridgell
93d444d1aa device: added a _device_id to all drivers
this device ID identifies a specific device via the tuple of (bus, bus
type, address, devtype). This allows device specific configuration
data to be stored along with a device ID, so the code can know when
the user has changed device configuration (such as removing an
external compass), and either invalidate the device configuration or
force the user to re-calibrate
2014-07-12 16:25:43 +02:00
Lorenz Meier
a2f528c5ba Merged master 2014-07-12 16:11:43 +02:00
Lorenz Meier
a6b52f1c9f HMC5883 post merge cleanup 2014-07-08 13:49:24 +02:00
px4dev
ef6c99c1ab Restructure the locking around SPI transfers 2014-07-06 11:40:28 -07:00
Andrew Tridgell
244c3602f2 SPI: added set_frequency() API
this allows the bus speed to be changed on the fly by device
drivers. This is needed for the MPU6000
2013-11-30 20:17:09 +11:00
px4dev
19fdaf2009 Use the generic device::SPI locking strategy. 2013-09-12 23:56:53 -07:00
Lorenz Meier
13fc670386 Moved last libs, drivers and headers, cleaned up IO build 2013-04-28 09:54:11 +02:00