From ef274b9399a73f3c73c888c28be508b499aa69cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Fita?= <4925040+michalfita@users.noreply.github.com> Date: Tue, 18 Oct 2022 19:49:21 +0100 Subject: [PATCH] [Fixes #34] Address review comments --- CHANGELOG.md | 2 +- tools/update-pacs.sh | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a2afd7f..2ba27d2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,7 +13,7 @@ - [Sealed](https://rust-lang.github.io/api-guidelines/future-proofing.html#sealed-traits-protect-against-downstream-implementations-c-sealed) all HAL-internal traits to disallow potentially unsound downstream trait implementations. - Regenerated PACs with `svd2rust 0.25.1` using up-to-date (2022-05-18) SVDs. These SVDs are now vendored in this repository, instead of using a submodule. -- Cargo Workspace sorted, so local builds and crate publictions work. +- Cargo Workspace sorted, so local builds and crate publications work. - Updates to `update-pacs.sh` script, moved to tools. ### Removed diff --git a/tools/update-pacs.sh b/tools/update-pacs.sh index 435bc6c..a57bb91 100755 --- a/tools/update-pacs.sh +++ b/tools/update-pacs.sh @@ -50,8 +50,6 @@ for svd in svd/*.svd; do mkdir -p $pac pushd $pac - #sed -e "s|\${crate}|${crate}|g" -e "s|\${chip}|${chip}|g" -e "s|\${pac}|${pac}|g" -e "s|\${version}|${version}|g" "${top}/pac/templates/Cargo.toml.template" > Cargo.toml - #sed -e "s|\${crate}|${crate}|g" -e "s|\${chip}|${chip}|g" -e "s|\${pac}|${pac}|g" -e "s|\${version}|${version}|g" "${top}/pac/templates/README.md.template" > README.md expand Cargo.toml expand README.md