Brendan Le Foll
0256b680f1
intel_de3815.c: Use MRAA_INTEL_DE3815_PINCOUNT macro for pincount
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2015-08-26 16:52:41 +01:00
Brendan Le Foll
df0dbb0c73
mraa: add internal mraa_find_i2c_bus function
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2015-07-10 11:11:41 +01:00
Brendan Le Foll
184a71aaa1
intel_de3815: avoid double free in case of error
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2015-07-08 10:34:32 +01:00
Brendan Le Foll
7f34a5c9cf
intel_de3815.c: Add error handling to seeks and avoid reading past buffer size
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2015-07-08 10:34:32 +01:00
Brendan Le Foll
f9dd4c06de
intel_de3815.c: check i2c device fd
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2015-07-08 09:39:52 +01:00
Brendan Le Foll
5131349c4d
intel_de3815.c: go up to i2c-8 to find designware i2c adapter
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2015-07-08 09:39:30 +01:00
Thomas Ingleby
5ccd7a675f
x86: de3815: detect correct i2c-dev
...
Will search for the designware i2c devices
Closes #198
Closes #203
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com >
2015-06-30 14:52:55 +01:00
Brendan Le Foll
ffcf3d7d07
clang-format: run clang-format on C/C++ code
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2015-03-23 15:15:48 +00:00
Thomas Ingleby
53a9a7dce4
internal/platform_name: move to const char*
...
Instead of plain char* to avoid need to malloc and do all the needed
error checking needed that goes along with that.
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com >
2015-01-21 15:35:54 +00:00
Thomas Ingleby
9cfbc87924
uart: add function mraa_uart_get_dev_path
...
Used for getting the path to the character device under linux for uart
device. i.e. "/dev/ttyS0"
Adds paths to existing platforms.
Closes #84
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com >
2015-01-20 16:08:49 +00:00
Thomas Ingleby
79afd9173a
x86: move x86 platform include files into own directory
...
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com >
2014-12-08 15:32:42 +00:00
Thomas Ingleby
b0a21e2c30
arch: initial framework for supporting other architectures added.
...
x86: all platforms moved into x86 directory
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com >
2014-12-08 15:32:42 +00:00