From 2f51627d184e3e04b4fc2bf64464a1d780e2467a Mon Sep 17 00:00:00 2001 From: Mihai Tudor Panu Date: Thu, 13 Apr 2017 13:23:44 -0700 Subject: [PATCH] x86.c: add NUC5i7RYB to the list of known NUC5 platforms While the NUC5i7RYB doesn't provide any built-in IO, this change will at least allow it to be used with a subplatform from IDEs that filter out unknown devices (e.g. Intel XDK). Signed-off-by: Mihai Tudor Panu --- src/x86/x86.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/x86/x86.c b/src/x86/x86.c index 5506887..1568117 100644 --- a/src/x86/x86.c +++ b/src/x86/x86.c @@ -63,7 +63,7 @@ mraa_x86_platform() } else if (strncmp(line, "DE3815", 6) == 0) { platform_type = MRAA_INTEL_DE3815; plat = mraa_intel_de3815(); - } else if (strncmp(line, "NUC5i5MYBE", 10) == 0 || strncmp(line, "NUC5i3MYBE", 10) == 0) { + } else if (strncmp(line, "NUC5i7RYB", 9) == 0 || strncmp(line, "NUC5i5MYBE", 10) == 0 || strncmp(line, "NUC5i3MYBE", 10) == 0) { platform_type = MRAA_INTEL_NUC5; plat = mraa_intel_nuc5(); } else if (strncmp(line, "NOTEBOOK", 8) == 0) {