Skip to content

Commit 84e4de4

Browse files
committed
Install libusb for zephyr 4.3.0
1 parent 6ab602e commit 84e4de4

1 file changed

Lines changed: 10 additions & 3 deletions

File tree

.github/actions/deps/external/action.yml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ inputs:
66
default: restore
77
type: choice
88
options:
9-
- cache
10-
- restore
9+
- cache
10+
- restore
1111

1212
port:
1313
required: false
@@ -27,7 +27,7 @@ runs:
2727
uses: carlosperate/arm-none-eabi-gcc-action@v1
2828
with:
2929
# When changing this update what Windows grabs too!
30-
release: '14.2.Rel1'
30+
release: "14.2.Rel1"
3131

3232
# espressif
3333
- name: Get espressif toolchain
@@ -50,6 +50,13 @@ runs:
5050
echo >> $GITHUB_PATH "$PATH"
5151
shell: bash
5252

53+
- name: Get libusb
54+
if: inputs.port == 'zephyr-cp'
55+
run: |
56+
sudo apt-get update
57+
sudo apt-get install -y libusb-1.0-0-dev
58+
shell: bash
59+
5360
# common
5461
- name: Cache python dependencies
5562
if: inputs.port != 'espressif' && inputs.port != 'zephyr-cp'

0 commit comments

Comments
 (0)