From e68546ad8567db77c6a9605b54ad47875bdb50e4 Mon Sep 17 00:00:00 2001 From: Alex Tereschenko Date: Sun, 25 Jan 2015 19:52:40 +0100 Subject: [PATCH] x86.c/mraa_x86_platform: added dedicated block for Galileo Gen1 init Closes #99. Signed-off-by: Alex Tereschenko Signed-off-by: Thomas Ingleby --- src/x86/x86.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/x86/x86.c b/src/x86/x86.c index ce02e62..a02943d 100644 --- a/src/x86/x86.c +++ b/src/x86/x86.c @@ -60,6 +60,9 @@ mraa_x86_platform() } else if (strncasecmp(line, "MinnowBoard MAX", 15) == 0) { platform_type = MRAA_INTEL_MINNOWBOARD_MAX; plat = mraa_intel_minnow_max(); + } else if (strncasecmp(line, "Galileo", 7) == 0) { + platform_type = MRAA_INTEL_GALILEO_GEN1; + plat = mraa_intel_galileo_rev_d(); } else { syslog(LOG_ERR, "Platform not supported, initialising as MRAA_INTEL_GALILEO_GEN1"); platform_type = MRAA_INTEL_GALILEO_GEN1;