Skip to content

Commit 21e32ee

Browse files
committed
Merge remote-tracking branch 'upstream/staging'
2 parents d9794e5 + 6392fa9 commit 21e32ee

21 files changed

+190
-88
lines changed

.travis.yml

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,26 +3,21 @@ language: rust
33
env:
44
- TARGET=x86_64-unknown-linux-gnu
55
- TARGET=riscv32imac-unknown-none-elf
6+
- TARGET=riscv64imac-unknown-none-elf
7+
- TARGET=riscv64gc-unknown-none-elf
68

79
rust:
810
- nightly
911
- stable
10-
- 1.31.0 # MSRV
12+
- 1.42.0 # MSRV
1113

1214
if: (branch = staging OR branch = trying OR branch = master) OR (type = pull_request AND branch = master)
1315

1416
matrix:
1517
allow_failures:
1618
- rust: nightly
17-
include:
18-
- env: TARGET=riscv64imac-unknown-none-elf
19-
rust: nightly
20-
if: (branch = staging OR branch = trying OR branch = master) OR (type = pull_request AND branch = master)
21-
22-
- env: TARGET=riscv64gc-unknown-none-elf
23-
rust: nightly
24-
if: (branch = staging OR branch = trying OR branch = master) OR (type = pull_request AND branch = master)
2519

20+
include:
2621
- env: CHECK_BLOBS=1
2722
rust:
2823
language: bash

CHANGELOG.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,18 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
77

88
## [Unreleased]
99

10+
## [v0.6.0] - 2020-06-20
11+
1012
### Changed
1113

12-
- Updated Minimum Supported Rust Version to 1.31.0
14+
- `Mtvec::trap_mode()`, `Stvec::trap_mode()` and `Utvec::trap_mode()` functions now return `Option<TrapMode>` (breaking change)
15+
- Updated Minimum Supported Rust Version to 1.42.0
1316
- Use `llvm_asm!` instead of `asm!`
1417

18+
### Removed
19+
20+
- vexriscv-specific registers were moved to the `vexriscv` crate
21+
1522
## [v0.5.6] - 2020-03-14
1623

1724
### Added
@@ -32,6 +39,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
3239

3340
- Fixed MSRV by restricting the upper bound of `bare-metal` version
3441

35-
[Unreleased]: https://github.com/rust-embedded/riscv/compare/v0.5.6...HEAD
42+
[Unreleased]: https://github.com/rust-embedded/riscv/compare/v0.6.0...HEAD
43+
[v0.6.0]: https://github.com/rust-embedded/riscv/compare/v0.5.6...v0.6.0
3644
[v0.5.6]: https://github.com/rust-embedded/riscv/compare/v0.5.5...v0.5.6
3745
[v0.5.5]: https://github.com/rust-embedded/riscv/compare/v0.5.4...v0.5.5

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "riscv"
3-
version = "0.5.6"
3+
version = "0.6.0"
44
repository = "https://github.com/rust-embedded/riscv"
55
authors = ["The RISC-V Team <[email protected]>"]
66
categories = ["embedded", "hardware-support", "no-std"]

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@ This project is developed and maintained by the [RISC-V team][team].
1212

1313
## Minimum Supported Rust Version (MSRV)
1414

15-
This crate is guaranteed to compile on stable Rust 1.31.0 and up. It *might*
15+
This crate is guaranteed to compile on stable Rust 1.42.0 and up. It *might*
1616
compile with older versions but that may change in any new patch release.
1717

1818
## License
1919

20-
Copyright 2019 [RISC-V team][team]
20+
Copyright 2019-2020 [RISC-V team][team]
2121

2222
Permission to use, copy, modify, and/or distribute this software for any purpose
2323
with or without fee is hereby granted, provided that the above copyright notice

asm.S

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -273,10 +273,3 @@ RW(0x7A3, tdata3) // Third Debug/Trace trigger data register
273273
RW(0x7B0, dcsr) // Debug control and status register
274274
RW(0x7B1, dpc) // Debug PC
275275
RW(0x7B2, dscratch) // Debug scratch register
276-
277-
// VexRiscv custom registers
278-
RW(0xBC0, vmim) // Machine IRQ Mask
279-
RO(0xFC0, vmip) // Machine IRQ Pending
280-
RW(0x9C0, vsim) // Supervisor IRQ Mask
281-
RO(0xDC0, vsip) // Supervisor IRQ Pending
282-
RO(0xCC0, vdci) // DCache Info

bin/riscv32i-unknown-none-elf.a

-1.36 KB
Binary file not shown.

bin/riscv32ic-unknown-none-elf.a

-1.34 KB
Binary file not shown.

bin/riscv64i-unknown-none-elf.a

-1.78 KB
Binary file not shown.

bin/riscv64ic-unknown-none-elf.a

-1.77 KB
Binary file not shown.

src/lib.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,8 @@
22
//!
33
//! # Minimum Supported Rust Version (MSRV)
44
//!
5-
//! This crate is guaranteed to compile on stable Rust 1.31 and up. It *might*
5+
//! This crate is guaranteed to compile on stable Rust 1.42 and up. It *might*
66
//! compile with older versions but that may change in any new patch release.
7-
//! Note that `riscv64imac-unknown-none-elf` and `riscv64gc-unknown-none-elf` targets
8-
//! are not supported on stable yet.
97
//!
108
//! # Features
119
//!

0 commit comments

Comments
 (0)