Skip to content

Commit f63ce8b

Browse files
committed
Update hifive1 to new e310x-hal
1 parent a665980 commit f63ce8b

File tree

6 files changed

+14
-13
lines changed

6 files changed

+14
-13
lines changed

.github/workflows/clippy.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
- name: Run clippy (direct mode)
3232
run: cargo clippy --features board-${{ matrix.board }} -- $CLIPPY_PARAMS
3333
- name: Run clippy (vectored mode)
34-
run: cargo clippy --features virq,board-${{ matrix.board }} -- $CLIPPY_PARAMS
34+
run: cargo clippy --features v-trap,board-${{ matrix.board }} -- $CLIPPY_PARAMS
3535

3636
# Job to check that all the lint checks succeeded
3737
clippy-check:

.github/workflows/e310x-hal.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ jobs:
1111
build-riscv:
1212
strategy:
1313
matrix:
14-
# All generated code should be running on stable now, MRSV is 1.72.0
15-
toolchain: [ stable, nightly, 1.72.0 ]
14+
# All generated code should be running on stable now, MRSV is 1.76.0
15+
toolchain: [ stable, nightly, 1.76.0 ]
1616
include:
1717
# Nightly is only for reference and allowed to fail
1818
- toolchain: nightly

.github/workflows/e310x.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ jobs:
1111
build-riscv:
1212
strategy:
1313
matrix:
14-
# All generated code should be running on stable now, MRSV is 1.72.0
15-
toolchain: [ stable, nightly, 1.72.0 ]
14+
# All generated code should be running on stable now, MRSV is 1.76.0
15+
toolchain: [ stable, nightly, 1.76.0 ]
1616
include:
1717
# Nightly is only for reference and allowed to fail
1818
- toolchain: nightly

.github/workflows/hifive1.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ jobs:
1111
build-riscv:
1212
strategy:
1313
matrix:
14-
# All generated code should be running on stable now, MRSV is 1.72.0
15-
toolchain: [nightly, stable, 1.72.0]
14+
# All generated code should be running on stable now, MRSV is 1.76.0
15+
toolchain: [nightly, stable, 1.76.0]
1616
board: [hifive1, hifive1-revb, redv, lofive, lofive-r1]
1717
include:
1818
# Nightly is only for reference and allowed to fail
@@ -29,7 +29,7 @@ jobs:
2929
- name: Build (direct)
3030
run: cargo build --package hifive1 --features board-${{ matrix.board }}
3131
- name: Build (vectored)
32-
run: cargo build --package hifive1 --features board-${{ matrix.board }},virq
32+
run: cargo build --package hifive1 --features board-${{ matrix.board }},v-trap
3333

3434
# On MacOS and Ubuntu, we at least make sure that the crate builds and links.
3535
# On Windows, linking fails when the rt feature is enabled.
@@ -48,5 +48,5 @@ jobs:
4848
- name: Build (direct)
4949
run: cargo test --package hifive1 --features board-${{ matrix.board }}
5050
- name: Build (vectored)
51-
run: cargo test --package hifive1 --features board-${{ matrix.board }},virq
51+
run: cargo test --package hifive1 --features board-${{ matrix.board }},v-trap
5252

hifive1/CHANGELOG.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,10 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/)
66
and this project adheres to [Semantic Versioning](http://semver.org/).
77

88
## [Unreleased]
9+
910
- Replace static muts with Mutexes
1011
- Apply clippy changes
11-
- Bump MSRV to 1.72
12+
- Bump MSRV to 1.76
1213
- Adapt to new Cargo workspace
1314
- Use inline assembly instead of binary blobs for flash
1415

hifive1/Cargo.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
[package]
22
name = "hifive1"
3-
version = "0.13.0"
3+
version = "0.14.0"
44
repository = "https://github.com/riscv-rust/hifive1"
55
authors = ["David Craven <[email protected]>"]
66
categories = ["embedded", "hardware-support", "no-std"]
77
description = "Board support crate for HiFive1 and LoFive boards"
88
keywords = ["riscv", "register", "peripheral"]
99
license = "ISC"
1010
edition = "2021"
11-
rust-version = "1.72"
11+
rust-version = "1.76"
1212

1313
[dependencies]
1414
critical-section = { version = "1.1.3" }
15-
e310x-hal = { path = "../e310x-hal", version = "0.11.0" }
15+
e310x-hal = { path = "../e310x-hal", version = "0.12.0" }
1616
embedded-hal = "0.2.7"
1717
riscv = "0.12.1"
1818
nb = "1.0.0"

0 commit comments

Comments
 (0)