Skip to content

Commit

Permalink
rm cpuPart 0xc07
Browse files Browse the repository at this point in the history
  • Loading branch information
albho committed Jul 19, 2024
1 parent d7a0b3f commit 0f458ee
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 5 deletions.
2 changes: 0 additions & 2 deletions binding/dotnet/Porcupine/Utils.cs
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@ public static string PvLinuxMachine()
string cpuPart = GetCpuPart();
switch (cpuPart)
{
case "0xc07": return "cortex-a7" + archInfo;
case "0xd03": return "cortex-a53" + archInfo;
case "0xd07": return "cortex-a57" + archInfo;
case "0xd08": return "cortex-a72" + archInfo;
Expand All @@ -103,7 +102,6 @@ public static string PvLinuxEnv()
string cpuPart = GetCpuPart();
switch (cpuPart)
{
case "0xc07":
case "0xd03":
case "0xd08":
case "0xd0b": return "raspberry-pi";
Expand Down
1 change: 0 additions & 1 deletion binding/dotnet/PorcupineTest/MainTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ private static string PvLinuxEnv()

switch (cpuPart)
{
case "0xc07":
case "0xd03":
case "0xd08":
case "0xd0b": return "raspberry-pi";
Expand Down
1 change: 0 additions & 1 deletion binding/java/src/ai/picovoice/porcupine/Utils.java
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,6 @@ public static String getEnvironmentName() throws RuntimeException {
if (arch.equals("arm") || arch.equals("aarch64")) {
String cpuPart = getCpuPart();
switch (cpuPart) {
case "0xc07":
case "0xd03":
case "0xd08":
case "0xd0b":
Expand Down
1 change: 0 additions & 1 deletion binding/nodejs/src/platforms.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,6 @@ function getCpuPart(): string {
function getLinuxPlatform(): string {
const cpuPart = getCpuPart();
switch (cpuPart) {
case "0xc07":
case "0xd03":
case "0xd08":
case "0xd0b": return PLATFORM_RASPBERRY_PI;
Expand Down

0 comments on commit 0f458ee

Please sign in to comment.