From 46df7f10073e6074ae7b984489be4a854b0a0d9d Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Mon, 30 Sep 2024 11:50:34 +0200 Subject: [PATCH] prepare HAL release --- board-tests/Cargo.toml | 1 - va108xx-hal/CHANGELOG.md | 2 ++ va108xx-hal/Cargo.toml | 2 +- va108xx-hal/src/uart.rs | 7 ++++--- vorago-reb1/Cargo.toml | 2 +- 5 files changed, 8 insertions(+), 6 deletions(-) diff --git a/board-tests/Cargo.toml b/board-tests/Cargo.toml index e906480..3e5946b 100644 --- a/board-tests/Cargo.toml +++ b/board-tests/Cargo.toml @@ -14,7 +14,6 @@ embedded-hal-nb = "1" embedded-io = "0.6" [dependencies.va108xx-hal] -version = "0.7" path = "../va108xx-hal" features = ["rt"] diff --git a/va108xx-hal/CHANGELOG.md b/va108xx-hal/CHANGELOG.md index 90ba77d..a9bf921 100644 --- a/va108xx-hal/CHANGELOG.md +++ b/va108xx-hal/CHANGELOG.md @@ -8,6 +8,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/). ## [unreleased] +## [v0.8.0] 2024-09-30 + ## Changed - Improves `CascardSource` handling and general API when chosing cascade sources. diff --git a/va108xx-hal/Cargo.toml b/va108xx-hal/Cargo.toml index 1e3ce57..71f7af0 100644 --- a/va108xx-hal/Cargo.toml +++ b/va108xx-hal/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "va108xx-hal" -version = "0.7.0" +version = "0.8.0" authors = ["Robin Mueller "] edition = "2021" description = "HAL for the Vorago VA108xx family of microcontrollers" diff --git a/va108xx-hal/src/uart.rs b/va108xx-hal/src/uart.rs index 623347b..f1b3ae5 100644 --- a/va108xx-hal/src/uart.rs +++ b/va108xx-hal/src/uart.rs @@ -3,7 +3,8 @@ //! ## Examples //! //! - [UART simple example](https://egit.irs.uni-stuttgart.de/rust/va108xx-rs/src/branch/main/examples/simple/examples/uart.rs) -//! - [UART with IRQ and RTIC](https://egit.irs.uni-stuttgart.de/rust/va108xx-rs/src/branch/va108xx-update-package/examples/rtic/src/bin/uart-rtic.rs) +//! - [UART with IRQ and RTIC](https://egit.irs.uni-stuttgart.de/rust/va108xx-rs/src/branch/main/examples/rtic/src/bin/uart-echo-rtic.rs) +//! - [Flashloader exposing a CCSDS interface via UART](https://egit.irs.uni-stuttgart.de/rust/va108xx-rs/src/branch/main/flashloader) use core::{convert::Infallible, ops::Deref}; use fugit::RateExtU32; use va108xx::Uarta; @@ -863,7 +864,7 @@ impl Tx { /// /// This does not necesarily mean that the FIFO can process another word because it might be /// full. - /// Use the [Self::read_fifo] function to write a word to the FIFO reliably using the [nb] + /// Use the [Self::write_fifo] function to write a word to the FIFO reliably using the [nb] /// API. #[inline(always)] pub fn write_fifo_unchecked(&self, data: u32) { @@ -916,7 +917,7 @@ impl embedded_io::Write for Tx { /// Serial receiver, using interrupts to offload reading to the hardware. /// -/// You can use [Rx::to_rx_with_irq] to convert a normal [Rx] structure into this structure. +/// You can use [Rx::into_rx_with_irq] to convert a normal [Rx] structure into this structure. /// This structure provides two distinct ways to read the UART RX using interrupts. It should /// be noted that the interrupt service routine (ISR) still has to be provided by the user. However, /// this structure provides API calls which can be used inside the ISRs to simplify the reading diff --git a/vorago-reb1/Cargo.toml b/vorago-reb1/Cargo.toml index e0b2b7e..b3a350d 100644 --- a/vorago-reb1/Cargo.toml +++ b/vorago-reb1/Cargo.toml @@ -21,7 +21,7 @@ bitfield = "0.17" version = "0.3" [dependencies.va108xx-hal] -version = ">=0.7, <0.8" +version = ">=0.7, <=0.8" path = "../va108xx-hal" features = ["rt"] -- 2.43.0