Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | trivial code style cleanup round 2 | Daniel Agar | 2015-03-27 | 1 | -3/+3 |
| | |||||
* | i2c: prevent double free of _dev pointer | Andrew Tridgell | 2015-02-14 | 1 | -1/+5 |
| | | | | this caused heap corruption | ||||
* | SPI: Log device clock on startup | Lorenz Meier | 2015-02-13 | 1 | -1/+1 |
| | |||||
* | CDEV::I2C: Enforce one speed per bus | Lorenz Meier | 2015-02-13 | 2 | -15/+62 |
| | |||||
* | Device class reg: Always use 0-based index | Lorenz Meier | 2015-02-09 | 1 | -16/+12 |
| | |||||
* | Dev info: Reflect address changes | Lorenz Meier | 2015-01-03 | 1 | -0/+1 |
| | |||||
* | Allow to get access to dev name | Lorenz Meier | 2015-01-02 | 1 | -0/+7 |
| | |||||
* | i2c: const get_address | Randy Mackay | 2014-12-30 | 1 | -1/+1 |
| | |||||
* | UAVCAN: initialize device id for mag and baro to allow DEVIOCGDEVICEID ioctl ↵ | Holger Steinhaus | 2014-11-11 | 1 | -1/+2 |
| | | | | to return useful data | ||||
* | device: initialise device id | Randy Mackay | 2014-10-08 | 1 | -0/+1 |
| | | | | | Conflicts: mavlink/include/mavlink/v1.0 | ||||
* | Merge sensor_startup_cleanup | Lorenz Meier | 2014-07-16 | 3 | -0/+12 |
|\ | |||||
| * | I2C driver: forbid copy constructor | Lorenz Meier | 2014-07-16 | 1 | -0/+3 |
| | | |||||
| * | device driver: Fix compile warnings | Lorenz Meier | 2014-07-16 | 2 | -0/+9 |
| | | |||||
* | | Merge branch 'ext_mag_param' into logging | Lorenz Meier | 2014-07-16 | 1 | -0/+5 |
|\| | |||||
| * | Forbid copy constructor in CDev | Lorenz Meier | 2014-07-15 | 1 | -0/+5 |
| | | |||||
* | | drivers: Up to three units support | Lorenz Meier | 2014-07-15 | 1 | -1/+2 |
| | | |||||
* | | Merged master | Lorenz Meier | 2014-07-15 | 6 | -36/+97 |
|\| | |||||
| * | device: use bitfields to keep DeviceStructure small | Andrew Tridgell | 2014-07-12 | 1 | -3/+6 |
| | | | | | | | | | | | | | | | | this keeps it small enough to fit in a float, which makes it possible to see the full value in a MAVLink tlog Conflicts: mavlink/include/mavlink/v1.0 | ||||
| * | device: pass CDev::ioctl() to superclass | Andrew Tridgell | 2014-07-12 | 1 | -0/+7 |
| | | | | | | | | this allows DEVIOCGDEVICEID to work. | ||||
| * | device: added a _device_id to all drivers | Andrew Tridgell | 2014-07-12 | 4 | -1/+50 |
| | | | | | | | | | | | | | | | | | | 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 | ||||
| * | Merged master | Lorenz Meier | 2014-07-12 | 2 | -32/+32 |
| |\ | |||||
| | * | Restructure the locking around SPI transfers | px4dev | 2014-07-06 | 2 | -32/+32 |
| | | | |||||
| * | | HMC5883 post merge cleanup | Lorenz Meier | 2014-07-08 | 1 | -2/+2 |
| | | | |||||
| * | | SPI: make _bus protected | Andrew Tridgell | 2014-07-08 | 1 | -1/+3 |
| |/ | | | | | | | | | this allows runtime use of internal/external bus to determine if DRDY should be used on the L3GD20 | ||||
* / | Introduce enum / define for multiple devices | Lorenz Meier | 2014-06-10 | 1 | -1/+4 |
|/ | |||||
* | CDev: Fixed printf format specifier | Lorenz Meier | 2014-03-16 | 1 | -1/+1 |
| | |||||
* | Fixed return value | Lorenz Meier | 2014-01-14 | 1 | -0/+1 |
| | |||||
* | Framework to support disabling publications via IOCTL | Lorenz Meier | 2014-01-12 | 3 | -3/+14 |
| | |||||
* | 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 | ||||
* | SPI: added set_frequency() API | Andrew Tridgell | 2013-11-30 | 2 | -0/+17 |
| | | | | | this allows the bus speed to be changed on the fly by device drivers. This is needed for the MPU6000 | ||||
* | Use the generic device::SPI locking strategy. | px4dev | 2013-09-12 | 2 | -5/+40 |
| | |||||
* | ringbuffer: converted to item_size units | Andrew Tridgell | 2013-09-12 | 1 | -20/+22 |
| | | | | this fixes a number of indexing bugs | ||||
* | Rework the ringbuffer class so that it's not templated, and refactor its ↵ | px4dev | 2013-09-12 | 1 | -109/+269 |
| | | | | clients so they aren't dancing around the linker anymore. | ||||
* | ringbuffer: added resize() and print_info() methods | Andrew Tridgell | 2013-09-12 | 1 | -2/+42 |
| | | | | this simplifies the drivers | ||||
* | ringbuffer: added force() and use lockless methods | px4dev | 2013-09-12 | 1 | -16/+120 |
| | | | | | this adds force() which can be used for drivers wanting consumers to get the latest data when the buffer overflows | ||||
* | Make it possible to create a cdev without automatically creating a device node. | px4dev | 2013-08-04 | 1 | -8/+8 |
| | |||||
* | Add size and flush methods to the ringbuffer class. | px4dev | 2013-08-04 | 1 | -5/+16 |
| | |||||
* | Add direct-access methods to the base Device class, so that there's a common ↵ | px4dev | 2013-08-04 | 4 | -23/+82 |
| | | | | | | | | way of talking to drivers regardless of which of the specialised classes they derive from. Make the Device destructor public and virtual, so that arbitrary devices can be deleted. Likewise for classes that derive from it. Make Device::init public so that arbitrary devices can be initialised after being returned by factories. | ||||
* | Simple ring-buffer template class, because re-implementing the wheel in ↵ | px4dev | 2013-08-03 | 1 | -0/+192 |
| | | | | every driver is silly. | ||||
* | Merged with master | Lorenz Meier | 2013-05-09 | 1 | -0/+9 |
| | |||||
* | Moved last libs, drivers and headers, cleaned up IO build | Lorenz Meier | 2013-04-28 | 9 | -0/+1804 |