Skip to content

Commit

Permalink
End-of-support for BeagleBone, Jetson, and RPI2 (#848)
Browse files Browse the repository at this point in the history
  • Loading branch information
albho authored Sep 5, 2024
1 parent ecb21bb commit 6d39b1b
Show file tree
Hide file tree
Showing 65 changed files with 214 additions and 297 deletions.
2 changes: 0 additions & 2 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,6 @@ body:
- macOS (x86_64, arm64)
- Windows (x86_64)
- Raspberry Pi
- NVIDIA Jetson
- BeagleBone
- ARM Cortex-M
default: 0
validations:
Expand Down
15 changes: 3 additions & 12 deletions .github/workflows/c-demos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:

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

steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -83,7 +83,7 @@ jobs:
arch: amd64
- os: macos-latest
platform: mac
arch: x86_64
arch: arm64

steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -112,11 +112,8 @@ jobs:

strategy:
matrix:
machine: [rpi2, rpi3-32, rpi3-64, rpi4-32, rpi4-64, rpi5-64, jetson, beaglebone]
machine: [rpi3-32, rpi3-64, rpi4-32, rpi4-64, rpi5-64]
include:
- machine: rpi2
platform: raspberry-pi
arch: cortex-a7
- machine: rpi3-32
platform: raspberry-pi
arch: cortex-a53
Expand All @@ -132,12 +129,6 @@ jobs:
- machine: rpi5-64
platform: raspberry-pi
arch: cortex-a76-aarch64
- machine: jetson
platform: jetson
arch: cortex-a57-aarch64
- machine: beaglebone
platform: beaglebone
arch: ''

steps:
- uses: actions/checkout@v3
Expand Down
10 changes: 2 additions & 8 deletions .github/workflows/dotnet-demos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,8 @@ jobs:

strategy:
matrix:
machine: [rpi2, rpi3-32, rpi3-64, rpi4-32, rpi4-64, rpi4-64, jetson, beaglebone]
machine: [rpi3-32, rpi3-64, rpi4-32, rpi4-64, rpi4-64]
include:
- machine: rpi2
platform: raspberry-pi
- machine: rpi3-32
platform: raspberry-pi
- machine: rpi3-64
Expand All @@ -79,10 +77,6 @@ jobs:
platform: raspberry-pi
- machine: rpi5-64
platform: raspberry-pi
- machine: jetson
platform: jetson
- machine: beaglebone
platform: beaglebone

steps:
- uses: actions/checkout@v3
Expand All @@ -100,4 +94,4 @@ jobs:
--input_audio_path ../../../resources/audio_samples/picovoice-coffee.wav
--access_key ${{secrets.PV_VALID_ACCESS_KEY}}
--keyword_path ../../../resources/porcupine/resources/keyword_files/${{ matrix.platform }}/picovoice_${{ matrix.platform }}.ppn
--context_path ../../../resources/rhino/resources/contexts/${{ matrix.platform }}/coffee_maker_${{ matrix.platform }}.rhn
--context_path ../../../resources/rhino/resources/contexts/${{ matrix.platform }}/coffee_maker_${{ matrix.platform }}.rhn
15 changes: 13 additions & 2 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:

strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
os: [ubuntu-latest, macos-latest, macos-13, windows-latest]
dotnet-version: [2.1.x, 3.0.x, 3.1.x, 5.0.x, 6.0.x]
include:
- dotnet-version: 2.1.x
Expand All @@ -59,6 +59,17 @@ jobs:
nuget-path: ~/.nuget/NuGet/local-nuget
- os: windows-latest
nuget-path: ~/AppData/Roaming/NuGet/local-nuget
exclude:
- os: macos-latest
dotnet-version: 2.1.x
- os: macos-latest
dotnet-version: 3.0.x
- os: macos-latest
dotnet-version: 3.1.x
- os: macos-latest
dotnet-version: 5.0.x
- os: macos-13
dotnet-version: 6.0.x

steps:
- name: Checkout repository and submodules
Expand All @@ -84,7 +95,7 @@ jobs:

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

steps:
- name: Checkout repository and submodules
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/go-demos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:

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

steps:
- uses: actions/checkout@v3
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
go-version: ${{ matrix.go }}

- name: Install dependencies
run: go get
run: go install

- name: Build
run: go build
Expand All @@ -67,7 +67,7 @@ jobs:

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

steps:
- uses: actions/checkout@v3
Expand All @@ -80,7 +80,7 @@ jobs:
go-version: ${{ matrix.go }}

- name: Install dependencies
run: go get
run: go install

- name: Build
run: go build
Expand Down
8 changes: 1 addition & 7 deletions .github/workflows/java-demos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,8 @@ jobs:

strategy:
matrix:
machine: [rpi2, rpi3-32, rpi3-64, rpi4-32, rpi4-64, rpi5-64, jetson, beaglebone]
machine: [rpi3-32, rpi3-64, rpi4-32, rpi4-64, rpi5-64]
include:
- machine: rpi2
platform: raspberry-pi
- machine: rpi3-32
platform: raspberry-pi
- machine: rpi3-64
Expand All @@ -78,10 +76,6 @@ jobs:
platform: raspberry-pi
- machine: rpi5-64
platform: raspberry-pi
- machine: jetson
platform: jetson
- machine: beaglebone
platform: beaglebone

steps:
- uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/java.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:

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

steps:
- uses: actions/checkout@v3
Expand Down
10 changes: 2 additions & 8 deletions .github/workflows/nodejs-demos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,8 @@ jobs:
strategy:
fail-fast: false
matrix:
machine: [rpi2, rpi3-32, rpi3-64, rpi4-32, rpi4-64, rpi5-64, jetson, beaglebone]
machine: [rpi3-32, rpi3-64, rpi4-32, rpi4-64, rpi5-64]
include:
- machine: rpi2
platform: raspberry-pi
- machine: rpi3-32
platform: raspberry-pi
- machine: rpi3-64
Expand All @@ -76,10 +74,6 @@ jobs:
platform: raspberry-pi
- machine: rpi5-64
platform: raspberry-pi
- machine: jetson
platform: jetson
- machine: beaglebone
platform: beaglebone

steps:
- uses: actions/checkout@v3
Expand All @@ -94,4 +88,4 @@ jobs:
-a ${{ secrets.PV_VALID_ACCESS_KEY }}
-i ../../resources/audio_samples/picovoice-coffee.wav
-k ../../resources/porcupine/resources/keyword_files/${{ matrix.platform }}/picovoice_${{ matrix.platform }}.ppn
-c ../../resources/rhino/resources/contexts/${{ matrix.platform }}/coffee_maker_${{ matrix.platform }}.rhn
-c ../../resources/rhino/resources/contexts/${{ matrix.platform }}/coffee_maker_${{ matrix.platform }}.rhn
2 changes: 1 addition & 1 deletion .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
strategy:
fail-fast: false
matrix:
machine: [rpi2, rpi3-32, rpi3-64, rpi4-32, rpi4-64, rpi5-64, jetson, beaglebone]
machine: [rpi3-32, rpi3-64, rpi4-32, rpi4-64, rpi5-64]

steps:
- uses: actions/checkout@v3
Expand Down
8 changes: 1 addition & 7 deletions .github/workflows/python-demos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,8 @@ jobs:

strategy:
matrix:
machine: [rpi2, rpi3-32, rpi3-64, rpi4-32, rpi4-64, rpi5-64, jetson, beaglebone]
machine: [rpi3-32, rpi3-64, rpi4-32, rpi4-64, rpi5-64]
include:
- machine: rpi2
platform: raspberry-pi
- machine: rpi3-32
platform: raspberry-pi
- machine: rpi3-64
Expand All @@ -79,10 +77,6 @@ jobs:
platform: raspberry-pi
- machine: rpi5-64
platform: raspberry-pi
- machine: jetson
platform: jetson
- machine: beaglebone
platform: beaglebone

steps:
- uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:

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

steps:
- uses: actions/checkout@v3
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/rust-demos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ env:
defaults:
run:
working-directory: demo/rust
shell: bash

jobs:
build-github-hosted:
Expand Down Expand Up @@ -74,7 +75,7 @@ jobs:

strategy:
matrix:
machine: [rpi3-32, rpi3-64, rpi4-32, rpi4-64, rpi5-64, jetson]
machine: [rpi3-32, rpi3-64, rpi4-32, rpi4-64, rpi5-64]
include:
- machine: rpi3-32
platform: raspberry-pi
Expand All @@ -86,8 +87,6 @@ jobs:
platform: raspberry-pi
- machine: rpi5-64
platform: raspberry-pi
- machine: jetson
platform: jetson

steps:
- uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:

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

steps:
- uses: actions/checkout@v3
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/unity.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ on:
defaults:
run:
working-directory: sdk/unity
shell: bash

jobs:
playtest-linux:
Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ spoken command:
- **Accurate:** Resilient to noise and reverberation. Outperforms cloud-based alternatives by wide margins.
- **Cross-Platform:** Design once, deploy anywhere. Build using familiar languages and frameworks.
- Arm Cortex-M, STM32, Arduino, and i.MX RT
- Raspberry Pi, NVIDIA Jetson Nano, and BeagleBone
- Raspberry Pi (Zero, 3, 4, 5)
- Android and iOS
- Chrome, Safari, Firefox, and Edge
- Linux (x86_64), macOS (x86_64, arm64), and Windows (x86_64)
Expand Down Expand Up @@ -199,7 +199,7 @@ picovoice_demo_mic \
--context_path resources/rhino/resources/contexts/${PLATFORM}/smart_lighting_${PLATFORM}.rhn
```

Replace `${PLATFORM}` with the platform you are running the demo on (e.g. `raspberry-pi`, `beaglebone`, `linux`, `mac`,
Replace `${PLATFORM}` with the platform you are running the demo on (e.g. `raspberry-pi`, `linux`, `mac`,
or `windows`). The microphone demo opens an audio stream from the microphone, detects utterances of a given wake
phrase, and infers intent from the follow-on spoken command. Once the demo initializes, it prints `[Listening ...]`
to the console. Then say:
Expand Down Expand Up @@ -586,7 +586,7 @@ At the root of the repository, build with:
cmake -S demo/c/. -B demo/c/build && cmake --build demo/c/build --target picovoice_demo_mic
```

#### Linux (x86_64), macOS (x86_64), Raspberry Pi, and BeagleBone
#### Linux (x86_64), macOS (x86_64, arm64), Raspberry Pi

List input audio devices with:

Expand All @@ -608,7 +608,7 @@ Run the demo using:
```

Replace `${LIBRARY_PATH}` with path to appropriate library available under [/sdk/c/lib](sdk/c/lib), `${PLATFORM}` with the
name of the platform you are running on (`linux`, `raspberry-pi`, `mac`, or `beaglebone`), and `${AUDIO_DEVICE_INDEX}` with
name of the platform you are running on (`linux`, `raspberry-pi`, or `mac`), and `${AUDIO_DEVICE_INDEX}` with
the index of your audio device.

#### Windows
Expand Down Expand Up @@ -640,7 +640,7 @@ At the root of the repository, build with:
cmake -S demo/c/. -B demo/c/build && cmake --build demo/c/build --target picovoice_demo_file
```

#### Linux (x86_64), macOS (x86_64), Raspberry Pi, and BeagleBone
#### Linux (x86_64), macOS (x86_64, arm64), Raspberry Pi

Run the demo using:

Expand All @@ -656,7 +656,7 @@ Run the demo using:
```

Replace `${LIBRARY_PATH}` with path to appropriate library available under [sdk/c/lib](sdk/c/lib), `${PLATFORM}` with the
name of the platform you are running on (`linux`, `raspberry-pi`, `mac`, or `beaglebone`).
name of the platform you are running on (`linux`, `raspberry-pi`, or `mac`).

#### Windows

Expand Down
4 changes: 2 additions & 2 deletions demo/c/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ target_include_directories(picovoice_demo_file PRIVATE dr_libs)
if (NOT WIN32)
target_link_libraries(picovoice_demo_mic ${COMMON_LIBS} ${MIC_LIBS})
target_link_libraries(picovoice_demo_file ${COMMON_LIBS})
if((${CMAKE_SYSTEM_PROCESSOR} MATCHES "arm") AND (UNIX AND NOT APPLE))
if((${CMAKE_SYSTEM_PROCESSOR} MATCHES "arm" OR ${CMAKE_SYSTEM_PROCESSOR} MATCHES "aarch64") AND (UNIX AND NOT APPLE))
target_link_libraries(picovoice_demo_mic atomic)
endif()
endif()
endif()
Loading

0 comments on commit 6d39b1b

Please sign in to comment.