From 0f458ee5fc712c89813b64df12cd8986f22db804 Mon Sep 17 00:00:00 2001 From: Albert Ho Date: Thu, 18 Jul 2024 17:58:35 -0700 Subject: [PATCH] rm cpuPart 0xc07 --- binding/dotnet/Porcupine/Utils.cs | 2 -- binding/dotnet/PorcupineTest/MainTest.cs | 1 - binding/java/src/ai/picovoice/porcupine/Utils.java | 1 - binding/nodejs/src/platforms.ts | 1 - 4 files changed, 5 deletions(-) diff --git a/binding/dotnet/Porcupine/Utils.cs b/binding/dotnet/Porcupine/Utils.cs index 4410214df..a6ef56862 100644 --- a/binding/dotnet/Porcupine/Utils.cs +++ b/binding/dotnet/Porcupine/Utils.cs @@ -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; @@ -103,7 +102,6 @@ public static string PvLinuxEnv() string cpuPart = GetCpuPart(); switch (cpuPart) { - case "0xc07": case "0xd03": case "0xd08": case "0xd0b": return "raspberry-pi"; diff --git a/binding/dotnet/PorcupineTest/MainTest.cs b/binding/dotnet/PorcupineTest/MainTest.cs index 0687ca811..bbbd50906 100644 --- a/binding/dotnet/PorcupineTest/MainTest.cs +++ b/binding/dotnet/PorcupineTest/MainTest.cs @@ -55,7 +55,6 @@ private static string PvLinuxEnv() switch (cpuPart) { - case "0xc07": case "0xd03": case "0xd08": case "0xd0b": return "raspberry-pi"; diff --git a/binding/java/src/ai/picovoice/porcupine/Utils.java b/binding/java/src/ai/picovoice/porcupine/Utils.java index ce79baa0b..e349b1ebd 100644 --- a/binding/java/src/ai/picovoice/porcupine/Utils.java +++ b/binding/java/src/ai/picovoice/porcupine/Utils.java @@ -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": diff --git a/binding/nodejs/src/platforms.ts b/binding/nodejs/src/platforms.ts index f6108d81a..46c242ff5 100644 --- a/binding/nodejs/src/platforms.ts +++ b/binding/nodejs/src/platforms.ts @@ -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;