From c67f50c96cefc1a7b537668d78d8ec77a858be23 Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Tue, 18 Feb 2025 16:23:51 +0100 Subject: [PATCH] prep HAL release v0.4.0 --- va416xx-embassy/Cargo.toml | 2 +- va416xx-hal/CHANGELOG.md | 3 ++- va416xx-hal/Cargo.toml | 9 ++------- va416xx-hal/docs.sh | 2 +- vorago-peb1/Cargo.toml | 2 +- 5 files changed, 7 insertions(+), 11 deletions(-) diff --git a/va416xx-embassy/Cargo.toml b/va416xx-embassy/Cargo.toml index 2453bcf..8c320cb 100644 --- a/va416xx-embassy/Cargo.toml +++ b/va416xx-embassy/Cargo.toml @@ -21,7 +21,7 @@ portable-atomic = "1" once_cell = { version = "1", default-features = false, features = ["critical-section"] } -va416xx-hal = { version = "0.3", path = "../va416xx-hal" } +va416xx-hal = { version = "0.4", path = "../va416xx-hal" } [features] default = ["irq-tim14-tim15"] diff --git a/va416xx-hal/CHANGELOG.md b/va416xx-hal/CHANGELOG.md index b83e713..57de1be 100644 --- a/va416xx-hal/CHANGELOG.md +++ b/va416xx-hal/CHANGELOG.md @@ -8,7 +8,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/). # [unreleased] -# [v0.4.0] +# [v0.4.0] 2025-02-18 ## Changed @@ -44,6 +44,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/). - Asynchronous UART RX support. - Add new `get_tim_raw` unsafe method to retrieve TIM peripheral blocks. - `Uart::with_with_interrupt` and `Uart::new_without_interrupt` +- A lot of missing `defmt::Format` implementations. # [v0.3.0] 2024-30-09 diff --git a/va416xx-hal/Cargo.toml b/va416xx-hal/Cargo.toml index faec8b0..caa296b 100644 --- a/va416xx-hal/Cargo.toml +++ b/va416xx-hal/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "va416xx-hal" -version = "0.3.0" +version = "0.4.0" authors = ["Robin Mueller "] edition = "2021" description = "HAL for the Vorago VA416xx family of MCUs" @@ -31,15 +31,10 @@ void = { version = "1", default-features = false } thiserror = { version = "2", default-features = false } portable-atomic = "1" embassy-sync = "0.6" +va416xx = { version = "0.4", features = ["critical-section"], default-features = false } defmt = { version = "0.3", optional = true } -[dependencies.va416xx] -default-features = false -path = "../va416xx" -version = "0.4" -features = ["critical-section"] - [features] default = ["rt", "revb"] rt = ["va416xx/rt"] diff --git a/va416xx-hal/docs.sh b/va416xx-hal/docs.sh index 37563d2..aa550c7 100755 --- a/va416xx-hal/docs.sh +++ b/va416xx-hal/docs.sh @@ -1,3 +1,3 @@ #!/bin/sh export RUSTDOCFLAGS="--cfg docsrs --generate-link-to-definition -Z unstable-options" -cargo +nightly doc --all-features --open +cargo +nightly doc --features "defmt va41630" --open diff --git a/vorago-peb1/Cargo.toml b/vorago-peb1/Cargo.toml index 042a4bb..33a5b78 100644 --- a/vorago-peb1/Cargo.toml +++ b/vorago-peb1/Cargo.toml @@ -18,7 +18,7 @@ embedded-hal = "1" [dependencies.va416xx-hal] path = "../va416xx-hal" features = ["va41630"] -version = ">=0.3, <0.4" +version = ">=0.3, <=0.4" [dependencies.lis2dh12] version = "0.7"