Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI fixes #9

Merged
merged 4 commits into from
Dec 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/clippy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ jobs:
clippy-check-arm:
runs-on: ubuntu-20.04
env:
RUSTFLAGS: "-D warnings"
RUSTFLAGS: "-D warnings -Aclippy::needless_lifetimes"
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
Expand All @@ -15,7 +15,7 @@ jobs:
clippy-check-riscv:
runs-on: ubuntu-20.04
env:
RUSTFLAGS: "-D warnings"
RUSTFLAGS: "-D warnings -Aclippy::needless_lifetimes"
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
Expand Down
8 changes: 4 additions & 4 deletions svd/RP2350.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,22 +5,22 @@ DMA:
_modify:
"CHAIN_TO":
description: "When this channel completes, it will trigger the channel indicated by CHAIN_TO. Disable by setting CHAIN_TO = _(this channel)_. \\n
Reset value is 0, which means for channels 1 and above the default will be to chain to channel 0 - set this field to avoid this behaviour."
Reset value is 0, which means for channels 1 and above the default will be to chain to channel 0 - set this field to avoid this behaviour."
CH0_AL1_CTRL:
_modify:
"CHAIN_TO":
description: "When this channel completes, it will trigger the channel indicated by CHAIN_TO. Disable by setting CHAIN_TO = _(this channel)_. \\n
Reset value is 0, which means for channels 1 and above the default will be to chain to channel 0 - set this field to avoid this behaviour."
Reset value is 0, which means for channels 1 and above the default will be to chain to channel 0 - set this field to avoid this behaviour."
CH0_AL2_CTRL:
_modify:
"CHAIN_TO":
description: "When this channel completes, it will trigger the channel indicated by CHAIN_TO. Disable by setting CHAIN_TO = _(this channel)_. \\n
Reset value is 0, which means for channels 1 and above the default will be to chain to channel 0 - set this field to avoid this behaviour."
Reset value is 0, which means for channels 1 and above the default will be to chain to channel 0 - set this field to avoid this behaviour."
CH0_AL3_CTRL:
_modify:
"CHAIN_TO":
description: "When this channel completes, it will trigger the channel indicated by CHAIN_TO. Disable by setting CHAIN_TO = _(this channel)_. \\n
Reset value is 0, which means for channels 1 and above the default will be to chain to channel 0 - set this field to avoid this behaviour."
Reset value is 0, which means for channels 1 and above the default will be to chain to channel 0 - set this field to avoid this behaviour."

"CH*_CTRL*":
"TREQ_SEL":
Expand Down
6 changes: 3 additions & 3 deletions update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )

set -exuo pipefail

cargo install --version 0.33.4 svd2rust
cargo install --version 0.12.1 form
cargo install --version 0.33.4 svd2rust --locked
cargo install --version 0.12.1 form --locked
rustup component add rustfmt
if [ "$SVDTOOLS" == "svdtools" ]; then
cargo install --version 0.3.17 svdtools
cargo install --version 0.3.20 svdtools --locked
else
python3 -mvenv --clear .venv
source .venv/bin/activate
Expand Down