Mark Charlebois
62eb403e4d
Linus: print format fixes to build with clang on IFC6410
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-04-20 11:15:12 -07:00
Mark Charlebois
d013ac0927
Support for building more modules with Linux
...
Added more queue support to linux/px4_layer.
Use virt char devices for ms5611, and mavlink.
Added more HRT functionality. uORB latency test
now fails. Likely due to bad HRT impl for Linux.
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-04-20 11:07:00 -07:00
Lorenz Meier
8107205b9e
device driver: Fix compile warnings
2014-07-16 08:47:31 +02:00
Andrew Tridgell
760b3ab2e7
ringbuffer: converted to item_size units
...
this fixes a number of indexing bugs
2013-09-12 00:53:14 +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
3329e3c38c
ringbuffer: added resize() and print_info() methods
...
this simplifies the drivers
2013-09-12 00:51:34 +02:00
px4dev
1828b57c58
ringbuffer: added force() and use lockless methods
...
this adds force() which can be used for drivers wanting consumers to
get the latest data when the buffer overflows
2013-09-12 00:51:24 +02:00
px4dev
a3ab88872c
Add some more useful methods to the ringbuffer class.
2013-08-03 19:02:54 -07:00
px4dev
234ad24081
Simple ring-buffer template class, because re-implementing the wheel in every driver is silly.
2013-08-03 18:23:48 -07:00