Skip to content

Commit

Permalink
.NET rpi5 support (#677)
Browse files Browse the repository at this point in the history
  • Loading branch information
laves authored Jan 31, 2024
1 parent e30f7de commit c28be14
Show file tree
Hide file tree
Showing 8 changed files with 17 additions and 10 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/dotnet-demos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:

strategy:
matrix:
machine: [rpi2, rpi3-32, rpi3-64, rpi4-32, rpi4-64, jetson, beaglebone]
machine: [rpi2, rpi3-32, rpi3-64, rpi4-32, rpi4-64, rpi5-64, jetson, beaglebone]
include:
- machine: rpi2
platform: raspberry-pi
Expand All @@ -71,6 +71,8 @@ jobs:
platform: raspberry-pi
- machine: rpi4-64
platform: raspberry-pi
- machine: rpi5-64
platform: raspberry-pi
- machine: jetson
platform: jetson
- machine: beaglebone
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ jobs:

strategy:
matrix:
machine: [rpi2, rpi3-32, rpi3-64, rpi4-32, rpi4-64, jetson, beaglebone]
machine: [rpi2, rpi3-32, rpi3-64, rpi4-32, rpi4-64, rpi5-64, jetson, beaglebone]

steps:
- uses: actions/checkout@v3
Expand Down
1 change: 1 addition & 0 deletions binding/dotnet/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ Platforms compatible with .NET Core 3.0+:
- 2
- 3 (32 and 64 bit)
- 4 (32 and 64 bit)
- 5 (32 and 64 bit)
- NVIDIA Jetson Nano
- BeagleBone

Expand Down
4 changes: 2 additions & 2 deletions binding/dotnet/Rhino/Rhino.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<TargetFrameworks>net6.0;netcoreapp3.0;netstandard2.0</TargetFrameworks>
<Version>3.0.1</Version>
<Version>3.0.2</Version>
<Authors>Picovoice</Authors>
<Company />
<Product>Rhino Speech-to-Intent Engine</Product>
Expand All @@ -12,7 +12,7 @@
<RepositoryType>git</RepositoryType>
<PackageTags>nlu, intent, inference, speech recognition, voice commands, offline, private, voice, ai, voice assistant</PackageTags>
<PackageReleaseNotes>See https://github.com/Picovoice/rhino/ </PackageReleaseNotes>
<Copyright>Picovoice 2020-2022</Copyright>
<Copyright>Picovoice 2020-2024</Copyright>
<Description>
Rhino is Picovoice's Speech-to-Intent engine. It directly infers intent from spoken commands within a given context of interest, in real-time.

Expand Down
6 changes: 4 additions & 2 deletions binding/dotnet/Rhino/Utils.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright 2020-2023 Picovoice Inc.
Copyright 2020-2024 Picovoice Inc.
You may not use this file except in compliance with the license. A copy of the license is located in the "LICENSE"
file accompanying this source.
Expand Down Expand Up @@ -75,6 +75,7 @@ public static string PvLinuxMachine()
case "0xd03": return "cortex-a53" + archInfo;
case "0xd07": return "cortex-a57" + archInfo;
case "0xd08": return "cortex-a72" + archInfo;
case "0xd0b": return "cortex-a76" + archInfo;
case "0xc08": return "";
default:
throw new PlatformNotSupportedException($"This device (CPU part = {cpuPart}) is not supported by Picovoice.");
Expand All @@ -88,7 +89,8 @@ public static string PvLinuxEnv()
{
case "0xc07":
case "0xd03":
case "0xd08": return "raspberry-pi";
case "0xd08":
case "0xd0b": return "raspberry-pi";
case "0xd07": return "jetson";
case "0xc08": return "beaglebone";
default:
Expand Down
5 changes: 3 additions & 2 deletions binding/dotnet/RhinoTest/MainTest.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright 2020-2023 Picovoice Inc.
Copyright 2020-2024 Picovoice Inc.
You may not use this file except in compliance with the license. A copy of the license is located in the "LICENSE"
file accompanying this source.
Expand Down Expand Up @@ -375,7 +375,8 @@ public static string PvLinuxEnv()
{
case "0xc07":
case "0xd03":
case "0xd08": return "raspberry-pi";
case "0xd08":
case "0xd0b": return "raspberry-pi";
case "0xd07": return "jetson";
case "0xc08": return "beaglebone";
default:
Expand Down
1 change: 1 addition & 0 deletions demo/dotnet/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ Rhino is:
- 2
- 3 (32 and 64 bit)
- 4 (32 and 64 bit)
- 5 (32 and 64 bit)
- NVIDIA Jetson Nano
- BeagleBone

Expand Down
4 changes: 2 additions & 2 deletions demo/dotnet/RhinoDemo/RhinoDemo.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="PvRecorder" Version="1.2.4" />
<PackageReference Include="Rhino" Version="3.0.1" />
<PackageReference Include="PvRecorder" Version="1.2.5" />
<PackageReference Include="Rhino" Version="3.0.2" />
</ItemGroup>
</Project>

0 comments on commit c28be14

Please sign in to comment.