Skip to content

Commit

Permalink
svdtools: update to v0.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
tones111 authored and Rahix committed Jan 7, 2025
1 parent 26ad26b commit a462c58
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
id: cache-cargo
with:
path: ~/cargo-bin
key: rust-tools-20250105-001
key: rust-tools-20250106-001
- name: Install svd2rust
if: steps.cache-cargo.outputs.cache-hit != 'true'
run: cargo install svd2rust --version 0.28.0 --locked
Expand All @@ -38,7 +38,7 @@ jobs:
run: cargo install atdf2svd --version 0.5.0 --locked
- name: Install svdtools
if: steps.cache-cargo.outputs.cache-hit != 'true'
run: cargo install svdtools --version 0.3.21 --locked
run: cargo install svdtools --version 0.4.0 --locked
- name: Copy tools to cache directory
if: steps.cache-cargo.outputs.cache-hit != 'true'
run: |
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,13 @@ Via the feature you can select which chip you want the register specifications f
## Build Instructions
The version on `crates.io` is pre-built. The following is only necessary when trying to build this crate from source.

You need to have [atdf2svd][] (= 0.5.0), [svd2rust][] (= 0.28), [form][] (>= 0.8), [rustfmt][](for the *nightly* toolchain) and [svdtools][] (= 0.3.21) installed:
You need to have [atdf2svd][] (= 0.5.0), [svd2rust][] (= 0.28), [form][] (>= 0.8), [rustfmt][](for the *nightly* toolchain) and [svdtools][] (= 0.4.0) installed:
```bash
cargo install atdf2svd --version 0.5.0 --locked
cargo install svd2rust --version 0.28.0 --locked
cargo install form
rustup component add --toolchain nightly rustfmt
cargo install svdtools --version 0.3.21 --locked
cargo install svdtools --version 0.4.0 --locked
```

[atdf2svd]: https://github.com/Rahix/atdf2svd
Expand Down
3 changes: 2 additions & 1 deletion patch/atmega8.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ ADC:
USART:
UCSRA:
_modify:
PE:
UPE:
name: PE
access: read-only
DOR:
access: read-only
Expand Down
2 changes: 1 addition & 1 deletion patch/common/ac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ AC:
_modify:
ACIS,ACIS?:
description: "Analog Comparator Interrupt Mode Select"
ACO:
ACO*:
access: read-only
ACIS,ACIS?:
_replace_enum:
Expand Down
2 changes: 1 addition & 1 deletion patch/common/twi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ TWI*:
access: read-only
TWAMR:
_modify:
TWAM:
TWAM*:
description: "TWI (Slave) Address Mask Bits"
TWSR:
_modify:
Expand Down

0 comments on commit a462c58

Please sign in to comment.