From 3384fc8b19825a1e88317cbd7995378d1c9c3afd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rom=C3=A1n=20C=C3=A1rdenas?= Date: Sun, 14 Jan 2024 11:21:56 +0100 Subject: [PATCH] Prepare for releases --- riscv-pac/CHANGELOG.md | 2 ++ riscv-rt/CHANGELOG.md | 3 +++ riscv-rt/Cargo.toml | 6 +++--- riscv-rt/macros/Cargo.toml | 2 +- riscv-semihosting/CHANGELOG.md | 2 ++ riscv-semihosting/Cargo.toml | 4 ++-- riscv-semihosting/src/lib.rs | 2 +- riscv/CHANGELOG.md | 2 ++ riscv/Cargo.toml | 2 +- 9 files changed, 17 insertions(+), 8 deletions(-) diff --git a/riscv-pac/CHANGELOG.md b/riscv-pac/CHANGELOG.md index d17dc4a1..f4a5a6d8 100644 --- a/riscv-pac/CHANGELOG.md +++ b/riscv-pac/CHANGELOG.md @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/). ## [Unreleased] +## [v0.1.0] - 2024-01-14 + ### Added - Add `InterruptNumber`, `PriorityNumber`, and `HartIdNumber` traits. diff --git a/riscv-rt/CHANGELOG.md b/riscv-rt/CHANGELOG.md index ba54c538..a1b7beb8 100644 --- a/riscv-rt/CHANGELOG.md +++ b/riscv-rt/CHANGELOG.md @@ -7,6 +7,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/). ## [Unreleased] + +## [v0.12.0] - 2024-01-14 + ### Added - Add `links` field in `Cargo.toml` diff --git a/riscv-rt/Cargo.toml b/riscv-rt/Cargo.toml index 3bb41590..c328eaa4 100644 --- a/riscv-rt/Cargo.toml +++ b/riscv-rt/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "riscv-rt" -version = "0.11.0" +version = "0.12.0" rust-version = "1.60" repository = "https://github.com/rust-embedded/riscv" authors = ["The RISC-V Team "] @@ -17,8 +17,8 @@ s-mode = [] single-hart = [] [dependencies] -riscv = {path = "../riscv", version = "0.10"} -riscv-rt-macros = { path = "macros", version = "0.2.0" } +riscv = {path = "../riscv", version = "0.11.0"} +riscv-rt-macros = { path = "macros", version = "0.2.1" } [dev-dependencies] panic-halt = "0.2.0" diff --git a/riscv-rt/macros/Cargo.toml b/riscv-rt/macros/Cargo.toml index 8ae2e353..f300fa1b 100644 --- a/riscv-rt/macros/Cargo.toml +++ b/riscv-rt/macros/Cargo.toml @@ -10,7 +10,7 @@ keywords = ["riscv", "runtime", "startup"] license = "MIT OR Apache-2.0" name = "riscv-rt-macros" repository = "https://github.com/rust-embedded/riscv" -version = "0.2.0" +version = "0.2.1" [lib] proc-macro = true diff --git a/riscv-semihosting/CHANGELOG.md b/riscv-semihosting/CHANGELOG.md index 64a1a597..53333769 100644 --- a/riscv-semihosting/CHANGELOG.md +++ b/riscv-semihosting/CHANGELOG.md @@ -5,6 +5,8 @@ This project adheres to [Semantic Versioning](http://semver.org/). ## [Unreleased] +## [v0.1.0] - 2023-01-18 + - Add recommendation for `semihosting` in README.md. - Bug fixes - Moved to the `riscv` Cargo workspace diff --git a/riscv-semihosting/Cargo.toml b/riscv-semihosting/Cargo.toml index d79f7821..8b715436 100644 --- a/riscv-semihosting/Cargo.toml +++ b/riscv-semihosting/Cargo.toml @@ -12,7 +12,7 @@ license = "MIT OR Apache-2.0" name = "riscv-semihosting" readme = "README.md" repository = "https://github.com/riscv-rust/riscv" -version = "0.0.1" +version = "0.1.0" edition = "2021" rust-version = "1.60.0" @@ -24,4 +24,4 @@ default = ["jlink-quirks"] [dependencies] critical-section = "1.0.0" -riscv = { path = "../riscv", version = "0.10.1" } +riscv = { path = "../riscv", version = "0.11.0" } diff --git a/riscv-semihosting/src/lib.rs b/riscv-semihosting/src/lib.rs index 7a22b89a..5a413ff9 100644 --- a/riscv-semihosting/src/lib.rs +++ b/riscv-semihosting/src/lib.rs @@ -216,7 +216,7 @@ pub unsafe fn syscall1(_nr: usize, _arg: usize) -> usize { #[cfg(all(riscv, not(feature = "no-semihosting")))] () => { let mut nr = _nr; - let mut arg = _arg; + let arg = _arg; // The instructions below must always be uncompressed, otherwise // it will be treated as a regular break, hence the norvc option. // diff --git a/riscv/CHANGELOG.md b/riscv/CHANGELOG.md index eef7703b..db9f6970 100644 --- a/riscv/CHANGELOG.md +++ b/riscv/CHANGELOG.md @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/). ## [Unreleased] +## [v0.11.0] - 2024-01-14 + ### Added - Add `asm::ecall()`, a wrapper for implementing an `ecall` instruction diff --git a/riscv/Cargo.toml b/riscv/Cargo.toml index 31924b04..54b84235 100644 --- a/riscv/Cargo.toml +++ b/riscv/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "riscv" -version = "0.10.1" +version = "0.11.0" edition = "2021" rust-version = "1.60" repository = "https://github.com/rust-embedded/riscv"