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:
committed by
Thomas Ingleby
parent
d0c884e67d
commit
08b2cefebe
@@ -75,6 +75,9 @@ mraa_arm_platform()
|
|||||||
}
|
}
|
||||||
} else if (strstr(line, "DE0/DE10-Nano-SoC")) {
|
} else if (strstr(line, "DE0/DE10-Nano-SoC")) {
|
||||||
platform_type = MRAA_DE_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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user