From 3853e18c23856c85ccf0226599d330c6de09a27a Mon Sep 17 00:00:00 2001 From: Andrew Walbran Date: Fri, 22 Mar 2024 15:19:09 +0000 Subject: [PATCH] Update to latest svd2rust version. --- .github/workflows/ci.yaml | 4 ++-- .github/workflows/nightlies.yaml | 4 ++-- CHANGELOG.md | 1 + scripts/makecrates.py | 2 +- 4 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index ecc2bfa63..3192359dd 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -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/install@v0.1 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: | diff --git a/.github/workflows/nightlies.yaml b/.github/workflows/nightlies.yaml index 6b1b96077..175956c71 100644 --- a/.github/workflows/nightlies.yaml +++ b/.github/workflows/nightlies.yaml @@ -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 diff --git a/CHANGELOG.md b/CHANGELOG.md index a6e5e0f03..6e0c42424 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,7 @@ ## [unreleased] +- Updated to `svd2rust` 0.32.0. - GD32C1x3 - Added support for GD32C103 and GD32C113 in new `gd32c1` crate. - GD32E103 diff --git a/scripts/makecrates.py b/scripts/makecrates.py index e6f999814..de41f217c 100644 --- a/scripts/makecrates.py +++ b/scripts/makecrates.py @@ -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"],