diff --git a/.github/workflows/clippy.yml b/.github/workflows/clippy.yml index 0f7a6c4..b9b9c87 100644 --- a/.github/workflows/clippy.yml +++ b/.github/workflows/clippy.yml @@ -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 @@ -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 diff --git a/svd/RP2350.yaml b/svd/RP2350.yaml index 473c74e..9d8adb5 100644 --- a/svd/RP2350.yaml +++ b/svd/RP2350.yaml @@ -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": diff --git a/update.sh b/update.sh index c29bb53..1825a50 100755 --- a/update.sh +++ b/update.sh @@ -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