Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update RPi versions #332

Merged
merged 1 commit into from
Aug 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 29 additions & 1 deletion CA_DataUploaderLib/RPi_versions.csv
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,36 @@ a020a0;Q1 2017;Compute Module 3 (and CM3 Lite);1.0;1 GB;(Mfg by Sony)
a22082;Q1 2016;3 Model B;1.2;1 GB;(Mfg by Embest)
a32082;Q4 2016;3 Model B;1.2;1 GB;(Mfg by Sony Japan)
a020d3;Q1 2018;3 Model B+;1.3;1 GB;(Mfg by Sony)
a020d4;?;3 Model B+;1.4;1 GB;(Mfg by Sony)
9020e0;Q4 2018;3 Model A+;1.0;512 MB;(Mfg by Sony)
9020e1;?;3 Model A+;1.1;512 MB;(Mfg by Sony)
a02100;Q1 2019;Compute Module 3+;1.0;1 GB;(Mfg by Sony)
a03111;Q2 2019;4 Model B;1.1;1 GB;(Mfg by Sony)
b03111;Q2 2019;4 Model B;1.1;2 GB;(Mfg by Sony)
c03111;Q2 2019;4 Model B;1.1;4 GB;(Mfg by Sony)
c03111;Q2 2019;4 Model B;1.1;4 GB;(Mfg by Sony)
a03112;?;4 Model B;1.2;1 GB;(Mfg by Sony)
a03114;?;4 Model B;1.4;1 GB;(Mfg by Sony)
a03115;?;4 Model B;1.5;1 GB;(Mfg by Sony)
b03112;Q2 2019;4 Model B;1.2;2 GB;(Mfg by Sony)
b03114;Q2 2020;4 Model B;1.4;2 GB;(Mfg by Sony)
b03115;Q1 2022;4 Model B;1.5;2 GB;(Mfg by Sony)
c03112;Q2 2019;4 Model B;1.2;4 GB;(Mfg by Sony)
c03114;Q2 2020;4 Model B;1.4;4 GB;(Mfg by Sony)
c03115;Q1 2022;4 Model B;1.5;4 GB;(Mfg by Sony)
d03114;Q2 2020;4 Model B;1.4;8 GB;(Mfg by Sony)
d03115;Q1 2022;4 Model B;1.5;8 GB;(Mfg by Sony)
a03140;Q4 2020;Compute Module 4;1.0;1 GB;(Mfg by Sony)
a03141;Q2 2022;Compute Module 4;1.1;1 GB;(Mfg by Sony)
b03140;Q4 2020;Compute Module 4;1.0;2 GB;(Mfg by Sony)
b03141;Q2 2022;Compute Module 4;1.1;2 GB;(Mfg by Sony)
c03140;Q4 2020;Compute Module 4;1.0;4 GB;(Mfg by Sony)
c03141;Q2 2022;Compute Module 4;1.1;4 GB;(Mfg by Sony)
d03140;Q4 2020;Compute Module 4;1.0;8 GB;(Mfg by Sony)
d03141;Q2 2022;Compute Module 4;1.1;8 GB;(Mfg by Sony)
a03150;?;Compute Module 4S;1.0;1 GB;(Mfg by Sony)
b03150;?;Compute Module 4S;1.0;2 GB;(Mfg by Sony)
c03150;?;Compute Module 4S;1.0;4 GB;(Mfg by Sony)
d03150;?;Compute Module 4S;1.0;8 GB;(Mfg by Sony)
b04170;Q4 2023;5;1.0;2GB;(Mfg by Sony)
c04170;Q4 2023;5;1.0;4GB;(Mfg by Sony)
d04170;Q4 2023;5;1.0;8GB;(Mfg by Sony)
1 change: 1 addition & 0 deletions CA_DataUploaderLib/RpiVersion.cs
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,7 @@ private static int GetNumberOfCores()
return Environment.ProcessorCount;
}

public static bool IsRpi() => GetHardwareInfo() != "Unknown hardware";
public static bool IsWindows() => OperatingSystem.IsWindows();
}
}