Skip to content

Commit

Permalink
Update hifive1 to new e310x-hal
Browse files Browse the repository at this point in the history
  • Loading branch information
romancardenas committed Oct 22, 2024
1 parent a665980 commit d34abe1
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/e310x-hal.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/e310x.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/hifive1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion hifive1/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
6 changes: 3 additions & 3 deletions hifive1/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
[package]
name = "hifive1"
version = "0.13.0"
version = "0.14.0"
repository = "https://github.com/riscv-rust/hifive1"
authors = ["David Craven <[email protected]>"]
categories = ["embedded", "hardware-support", "no-std"]
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"
Expand Down

0 comments on commit d34abe1

Please sign in to comment.