Skip to content

Commit

Permalink
gpio: enable persmission
Browse files Browse the repository at this point in the history
  • Loading branch information
charles37 committed Oct 30, 2024
1 parent 0c900b9 commit b982800
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/treadmill-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -190,9 +190,6 @@ jobs:
- name: Disable wget progress output
run: |
echo "verbose = off" >> $HOME/.wgetrc
- name: enable gpio permissions
run: |
sudo adduser $(whoami) gpio
- name: Checkout the Tock Hardware CI scripts
uses: actions/checkout@v4
with:
Expand Down Expand Up @@ -224,14 +221,20 @@ jobs:
sudo DEBIAN_FRONTEND=noninteractive apt update || true
sudo DEBIAN_FRONTEND=noninteractive apt install -y \
git cargo openocd python3 python3-pip python3-serial \
python3-pexpect gcc-arm-none-eabi libnewlib-arm-none-eabi \
python3-pexpect pigpio python3-pigpio \
libnewlib-arm-none-eabi gcc-arm-none-eabi \
pkg-config libudev-dev cmake libusb-1.0-0-dev udev make \
gdb-multiarch gcc-arm-none-eabi build-essential jq || true
# Install probe-rs:
curl --proto '=https' --tlsv1.2 -LsSf \
https://github.com/probe-rs/probe-rs/releases/latest/download/probe-rs-tools-installer.sh \
| sh
- name: enable gpio permissions
run: |
sudo pigpiod
sudo adduser $(whoami) gpio
sudo systemctl status pigpiod
- name: Create Python virtual environment and install required dependencies
run: |
python3 -m venv ./hwcienv
Expand Down

0 comments on commit b982800

Please sign in to comment.