Skip to content

Commit a462c58

Browse files
tones111Rahix
authored andcommitted
svdtools: update to v0.4.0
1 parent 26ad26b commit a462c58

File tree

5 files changed

+8
-7
lines changed

5 files changed

+8
-7
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
id: cache-cargo
2727
with:
2828
path: ~/cargo-bin
29-
key: rust-tools-20250105-001
29+
key: rust-tools-20250106-001
3030
- name: Install svd2rust
3131
if: steps.cache-cargo.outputs.cache-hit != 'true'
3232
run: cargo install svd2rust --version 0.28.0 --locked
@@ -38,7 +38,7 @@ jobs:
3838
run: cargo install atdf2svd --version 0.5.0 --locked
3939
- name: Install svdtools
4040
if: steps.cache-cargo.outputs.cache-hit != 'true'
41-
run: cargo install svdtools --version 0.3.21 --locked
41+
run: cargo install svdtools --version 0.4.0 --locked
4242
- name: Copy tools to cache directory
4343
if: steps.cache-cargo.outputs.cache-hit != 'true'
4444
run: |

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,13 @@ Via the feature you can select which chip you want the register specifications f
4040
## Build Instructions
4141
The version on `crates.io` is pre-built. The following is only necessary when trying to build this crate from source.
4242

43-
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:
43+
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:
4444
```bash
4545
cargo install atdf2svd --version 0.5.0 --locked
4646
cargo install svd2rust --version 0.28.0 --locked
4747
cargo install form
4848
rustup component add --toolchain nightly rustfmt
49-
cargo install svdtools --version 0.3.21 --locked
49+
cargo install svdtools --version 0.4.0 --locked
5050
```
5151

5252
[atdf2svd]: https://github.com/Rahix/atdf2svd

patch/atmega8.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@ ADC:
4141
USART:
4242
UCSRA:
4343
_modify:
44-
PE:
44+
UPE:
45+
name: PE
4546
access: read-only
4647
DOR:
4748
access: read-only

patch/common/ac.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ AC:
99
_modify:
1010
ACIS,ACIS?:
1111
description: "Analog Comparator Interrupt Mode Select"
12-
ACO:
12+
ACO*:
1313
access: read-only
1414
ACIS,ACIS?:
1515
_replace_enum:

patch/common/twi.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ TWI*:
1111
access: read-only
1212
TWAMR:
1313
_modify:
14-
TWAM:
14+
TWAM*:
1515
description: "TWI (Slave) Address Mask Bits"
1616
TWSR:
1717
_modify:

0 commit comments

Comments
 (0)