Private
Public Access
2
0

DE10-Nano: Detection For Different Kernels

To detect DE10-Nano with default config.

Signed-off-by: Burak Han Corak<burakhancorak@gmail.com>
Signed-off-by: Thomas Ingleby <thomas.ingleby@intel.com>
This commit is contained in:
Burak Han
2018-12-27 17:39:42 +03:00
committed by Thomas Ingleby
parent d0c884e67d
commit 08b2cefebe

View File

@@ -75,6 +75,9 @@ mraa_arm_platform()
}
} else if (strstr(line, "DE0/DE10-Nano-SoC")) {
platform_type = MRAA_DE_NANO_SOC;
// For different kernel version(s) of DE10-Nano
} else if (strstr(line, "Altera SOCFPGA")) {
platform_type = MRAA_DE_NANO_SOC;
}
}
}