aboutsummaryrefslogtreecommitdiff
path: root/src/drivers/device
Commit message (Collapse)AuthorAgeFilesLines
* Use the generic device::SPI locking strategy.px4dev2013-09-122-5/+40
|
* ringbuffer: converted to item_size unitsAndrew Tridgell2013-09-121-20/+22
| | | | this fixes a number of indexing bugs
* Rework the ringbuffer class so that it's not templated, and refactor its ↵px4dev2013-09-121-109/+269
| | | | clients so they aren't dancing around the linker anymore.
* ringbuffer: added resize() and print_info() methodsAndrew Tridgell2013-09-121-2/+42
| | | | this simplifies the drivers
* ringbuffer: added force() and use lockless methodspx4dev2013-09-121-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.px4dev2013-08-041-8/+8
|
* Add size and flush methods to the ringbuffer class.px4dev2013-08-041-5/+16
|
* Add direct-access methods to the base Device class, so that there's a common ↵px4dev2013-08-044-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 ↵px4dev2013-08-031-0/+192
| | | | every driver is silly.
* Merged with masterLorenz Meier2013-05-091-0/+9
|
* Moved last libs, drivers and headers, cleaned up IO buildLorenz Meier2013-04-289-0/+1804