From d34abe14831355b2858e5dd30d80c19d86356ada Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rom=C3=A1n=20C=C3=A1rdenas=20Rodr=C3=ADguez?= Date: Tue, 22 Oct 2024 17:05:29 +0200 Subject: [PATCH] Update hifive1 to new e310x-hal --- .github/workflows/e310x-hal.yaml | 4 ++-- .github/workflows/e310x.yaml | 4 ++-- .github/workflows/hifive1.yaml | 4 ++-- hifive1/CHANGELOG.md | 3 ++- hifive1/Cargo.toml | 6 +++--- 5 files changed, 11 insertions(+), 10 deletions(-) diff --git a/.github/workflows/e310x-hal.yaml b/.github/workflows/e310x-hal.yaml index 0ffea09..ea4af6b 100644 --- a/.github/workflows/e310x-hal.yaml +++ b/.github/workflows/e310x-hal.yaml @@ -11,8 +11,8 @@ jobs: build-riscv: strategy: matrix: - # All generated code should be running on stable now, MRSV is 1.72.0 - toolchain: [ stable, nightly, 1.72.0 ] + # All generated code should be running on stable now, MRSV is 1.76.0 + toolchain: [ stable, nightly, 1.76.0 ] include: # Nightly is only for reference and allowed to fail - toolchain: nightly diff --git a/.github/workflows/e310x.yaml b/.github/workflows/e310x.yaml index 8247a9f..f1336e7 100644 --- a/.github/workflows/e310x.yaml +++ b/.github/workflows/e310x.yaml @@ -11,8 +11,8 @@ jobs: build-riscv: strategy: matrix: - # All generated code should be running on stable now, MRSV is 1.72.0 - toolchain: [ stable, nightly, 1.72.0 ] + # All generated code should be running on stable now, MRSV is 1.76.0 + toolchain: [ stable, nightly, 1.76.0 ] include: # Nightly is only for reference and allowed to fail - toolchain: nightly diff --git a/.github/workflows/hifive1.yaml b/.github/workflows/hifive1.yaml index 0ff7f13..78fe2dc 100644 --- a/.github/workflows/hifive1.yaml +++ b/.github/workflows/hifive1.yaml @@ -11,8 +11,8 @@ jobs: build-riscv: strategy: matrix: - # All generated code should be running on stable now, MRSV is 1.72.0 - toolchain: [nightly, stable, 1.72.0] + # All generated code should be running on stable now, MRSV is 1.76.0 + toolchain: [nightly, stable, 1.76.0] board: [hifive1, hifive1-revb, redv, lofive, lofive-r1] include: # Nightly is only for reference and allowed to fail diff --git a/hifive1/CHANGELOG.md b/hifive1/CHANGELOG.md index 40286ad..06f6699 100644 --- a/hifive1/CHANGELOG.md +++ b/hifive1/CHANGELOG.md @@ -6,9 +6,10 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/). ## [Unreleased] + - Replace static muts with Mutexes - Apply clippy changes -- Bump MSRV to 1.72 +- Bump MSRV to 1.76 - Adapt to new Cargo workspace - Use inline assembly instead of binary blobs for flash diff --git a/hifive1/Cargo.toml b/hifive1/Cargo.toml index 1f2d081..0b15885 100644 --- a/hifive1/Cargo.toml +++ b/hifive1/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "hifive1" -version = "0.13.0" +version = "0.14.0" repository = "https://github.com/riscv-rust/hifive1" authors = ["David Craven "] categories = ["embedded", "hardware-support", "no-std"] @@ -8,11 +8,11 @@ description = "Board support crate for HiFive1 and LoFive boards" keywords = ["riscv", "register", "peripheral"] license = "ISC" edition = "2021" -rust-version = "1.72" +rust-version = "1.76" [dependencies] critical-section = { version = "1.1.3" } -e310x-hal = { path = "../e310x-hal", version = "0.11.0" } +e310x-hal = { path = "../e310x-hal", version = "0.12.0" } embedded-hal = "0.2.7" riscv = "0.12.1" nb = "1.0.0"