Skip to content

Commit

Permalink
.NET rpi5 support (#778)
Browse files Browse the repository at this point in the history
  • Loading branch information
laves committed Jan 31, 2024
1 parent bc1b34d commit 2a2c689
Show file tree
Hide file tree
Showing 7 changed files with 15 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 @@ -65,7 +65,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, rpi4-64, jetson, beaglebone]
include:
- machine: rpi2
platform: raspberry-pi
Expand All @@ -77,6 +77,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 @@ -84,7 +84,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:
- name: Checkout repository and submodules
Expand Down
4 changes: 2 additions & 2 deletions demo/dotnet/PicovoiceDemo/PicovoiceDemo.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="PvRecorder" Version="1.2.4" />
<PackageReference Include="Picovoice" Version="3.0.1" />
<PackageReference Include="PvRecorder" Version="1.2.5" />
<PackageReference Include="Picovoice" Version="3.0.2" />
</ItemGroup>
</Project>
1 change: 1 addition & 0 deletions demo/dotnet/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ similar to Alexa and Google. But it entirely runs 100% on-device. Picovoice is
- 2
- 3 (32 and 64 bit)
- 4 (32 and 64 bit)
- 5 (32 and 64 bit)
- NVIDIA Jetson Nano
- BeagleBone

Expand Down
8 changes: 4 additions & 4 deletions sdk/dotnet/Picovoice/Picovoice.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net6.0;netcoreapp3.0;netstandard2.0</TargetFrameworks>
<Version>3.0.1</Version>
<Version>3.0.2</Version>
<Authors>Picovoice</Authors>
<Company />
<Product>Picovoice End-to-End Platform</Product>
Expand All @@ -11,7 +11,7 @@
<RepositoryType>git</RepositoryType>
<PackageTags>porcupine, wake word, trigger word, hotword, nlu, intent, inference, speech recognition, voice commands, offline, private, voice ai, voice assistant</PackageTags>
<PackageReleaseNotes>See https://github.com/Picovoice/picovoice</PackageReleaseNotes>
<Copyright>Picovoice 2020-2023</Copyright>
<Copyright>Picovoice 2020-2024</Copyright>
<Description>
Picovoice is an end-to-end platform for building voice products on your terms. It enables creating voice experiences similar to Alexa and Google. But it entirely runs 100% on-device.

Expand All @@ -35,10 +35,10 @@
</None>
</ItemGroup>
<ItemGroup>
<PackageReference Include="Porcupine" Version="3.0.1">
<PackageReference Include="Porcupine" Version="3.0.2">
<PrivateAssets>analyzers</PrivateAssets>
</PackageReference>
<PackageReference Include="Rhino" Version="3.0.1">
<PackageReference Include="Rhino" Version="3.0.2">
<PrivateAssets>analyzers</PrivateAssets>
</PackageReference>
</ItemGroup>
Expand Down
5 changes: 3 additions & 2 deletions sdk/dotnet/PicovoiceTest/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 @@ -251,7 +251,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 sdk/dotnet/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,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

0 comments on commit 2a2c689

Please sign in to comment.