Skip to content

Commit

Permalink
github: workflows: Install "commander"
Browse files Browse the repository at this point in the history
Silabs parts rely on \"commander\" tool to flash and create create
firmware image.

Signed-off-by: Jérôme Pouiller <[email protected]>
  • Loading branch information
jerome-pouiller committed Oct 15, 2024
1 parent 561f375 commit 05fc3db
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,16 @@ jobs:
run: |
west blobs fetch hal_silabs
- name: Install Silabs Simplicity Commander
run: |
# FIXME: avoid relying on floating version
wget https://www.silabs.com/documents/login/software/SimplicityCommander-Linux.zip
unzip SimplicityCommander-Linux.zip
mkdir -p /opt/commander
tar -C /opt -xvf SimplicityCommander-Linux/Commander_linux_${ARCH}_*.tar.bz
chmod a+r -R /opt/commander/
ln -sfn /opt/commander/commander /usr/local/bin/
- name: Build hello world
working-directory: zephyr-silabs
shell: bash
Expand Down
9 changes: 9 additions & 0 deletions .github/workflows/upstream-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,15 @@ jobs:
west update
west blobs fetch hal_silabs
- name: Install Silabs Simplicity Commander
run: |
wget https://www.silabs.com/documents/login/software/SimplicityCommander-Linux.zip
unzip SimplicityCommander-Linux.zip
mkdir -p /opt/commander
tar -C /opt -xvf SimplicityCommander-Linux/Commander_linux_${ARCH}_*.tar.bz
chmod a+r -R /opt/commander/
ln -sfn /opt/commander/commander /usr/local/bin/
- name: Build Bluetooth sample for xG27
continue-on-error: true
working-directory: zephyr-silabs
Expand Down

0 comments on commit 05fc3db

Please sign in to comment.