Skip to content

Commit

Permalink
Merge pull request #58 from gd32-rust/svd2rust
Browse files Browse the repository at this point in the history
Update to latest svd2rust version.
  • Loading branch information
qwandor authored Mar 22, 2024
2 parents dc0fcf3 + 3853e18 commit f78b420
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,13 @@ jobs:
id: cache-cargo
with:
path: ~/cargo-bin
key: ${{ runner.os }}-svd2rust-0.30.1
key: ${{ runner.os }}-svd2rust-0.32.0
- name: Install svd2rust
if: steps.cache-cargo.outputs.cache-hit != 'true'
uses: actions-rs/[email protected]
with:
crate: svd2rust
version: 0.30.1
version: 0.32.0
- name: Copy svd2rust to cache directory
if: steps.cache-cargo.outputs.cache-hit != 'true'
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/nightlies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,13 @@ jobs:
id: cache-cargo
with:
path: ~/cargo-bin
key: ${{ runner.os }}-cargo-binaries-0.30.1
key: ${{ runner.os }}-cargo-binaries-0.32.0
- name: Install svd2rust
if: steps.cache-cargo.outputs.cache-hit != 'true'
uses: actions-rs/cargo@v1
with:
command: install
args: svd2rust --version 0.30.1
args: svd2rust --version 0.32.0
- name: Install form
if: steps.cache-cargo.outputs.cache-hit != 'true'
uses: actions-rs/cargo@v1
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

## [unreleased]

- Updated to `svd2rust` 0.32.0.
- GD32C1x3
- Added support for GD32C103 and GD32C113 in new `gd32c1` crate.
- GD32E103
Expand Down
2 changes: 1 addition & 1 deletion scripts/makecrates.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
import yaml

VERSION = "0.8.0"
SVD2RUST_VERSION = "0.30.1"
SVD2RUST_VERSION = "0.32.0"

CRATE_DOC_FEATURES = {
"gd32c1": ["rt", "gd32c103", "gd32c113"],
Expand Down

0 comments on commit f78b420

Please sign in to comment.