Private
Public Access
2
0

intel_de3815: initial support for Baytrail NUC

* I2C only currently supported, Both bus 0 and 1

Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
This commit is contained in:
Thomas Ingleby
2014-10-17 17:29:20 +01:00
parent 418c198999
commit 7c807b3acc
5 changed files with 171 additions and 0 deletions

View File

@@ -32,6 +32,7 @@
#include "intel_galileo_rev_d.h"
#include "intel_galileo_rev_g.h"
#include "intel_edison_fab_c.h"
#include "intel_de3815.h"
#include "gpio.h"
#include "version.h"
@@ -89,6 +90,8 @@ mraa_init()
platform_type = MRAA_INTEL_EDISON_FAB_C;
} else if (strncmp(line, "SALT BAY", 7) == 0) {
platform_type = MRAA_INTEL_EDISON_FAB_C;
} else if (strncmp(line, "DE3815", 6) == 0) {
platform_type = MRAA_INTEL_DE3815;
} else {
platform_type = MRAA_INTEL_GALILEO_GEN1;
}
@@ -110,6 +113,9 @@ mraa_init()
case MRAA_INTEL_EDISON_FAB_C:
plat = mraa_intel_edison_fab_c();
break;
case MRAA_INTEL_DE3815:
plat = mraa_intel_de3815();
break;
default:
plat = mraa_intel_galileo_rev_d();
syslog(LOG_ERR, "Platform not found, initialising MRAA_INTEL_GALILEO_GEN1");