Skip to content

Commit

Permalink
Ci fixes (#96)
Browse files Browse the repository at this point in the history
* Use locked versions of build dependencies

* Update svdtools to 0.3.20 to avoid type inference error

* Correctly indent multiline string

* Revert to svd2rust 0.32.0
  • Loading branch information
9names authored Dec 8, 2024
1 parent 89e78ff commit eada405
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions svd/rp2040.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 @@ -5,11 +5,11 @@ SVDTOOLS="${SVDTOOLS:-svdtools}"

set -ex

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

0 comments on commit eada405

Please sign in to comment.