Andrew Tridgell
b09fcfc20e
HAL_Linux: cope with systems without I2C_RDRW_IOCTL_MAX_MSGS
...
such as my ubuntu 14.04 laptop :-)
10 years ago
Lucas De Marchi
d640bc8345
AP_HAL_Linux: use kernel's limit of msgs per I2C transaction
...
Instead of hardcoding 8 as the limit for I2C msgs, use whatever the
kernel exported to us. In upstream this is 42 so it means we can group
together 21 addr/data pair instead of only 8.
10 years ago
Andrew Tridgell
1b85b12738
HAL_Linux: made I2C driver more portable
...
this uses a typeof() to cope with different kernel data types for I2C
messages
11 years ago
Andrew Tridgell
6312b9f8c0
HAL_Linux: allow different SPI and GPIO devices on different boards
...
this fixes the Replay utility, which uses subtype NONE, and will make
it easier to port to new boards
11 years ago
Andrew Tridgell
8e5915ef7d
HAL_Linux: fixed some valgrind errors
11 years ago
Andrew Tridgell
fc8068adfe
HAL_Linux: use board subtypes
11 years ago
Andrew Tridgell
1bf0c4c67d
HAL_Linux: cope with different I2C headers for data
11 years ago
Andrew Tridgell
fa2a1c495e
HAL_Linux: fixed I2C driver build errors
11 years ago
Víctor Mayoral Vilches
c4b6026d53
HAL_Linux: include readRegistersMultiple in I2CDriver
...
AP_HAL_Linux implemments this new method.
11 years ago
Andrew Tridgell
74ee70d463
HAL_Linux: updates for ERLE board type
11 years ago
Andrew Tridgell
bcc9cdbf43
HAL_Linux: make I2CDriver more portable
...
this allows it to build on the Beaglebone
12 years ago
Andrew Tridgell
f03315237a
HAL_Linux: fixed timer scheduler
12 years ago
Andrew Tridgell
cca59ce3c9
HAL_Linux: update for new scheduler API
12 years ago
Andrew Tridgell
58a31318ee
AP_HAL_Linux: initial I2C driver implementation
...
this works sufficiently for the HMC5883
12 years ago
Andrew Tridgell
4ba044c441
AP_HAL_Linux: initial Linux AP_HAL
12 years ago