Skip to content

Commit d9794e5

Browse files
Merge pull request #2 from rcore-os/merge-upstream
Merge upstream
2 parents 1c5bc80 + 5a3b626 commit d9794e5

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

62 files changed

+1318
-124
lines changed

.travis.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,13 @@ env:
77
rust:
88
- nightly
99
- stable
10-
- 1.30.0 # MSRV
10+
- 1.31.0 # MSRV
1111

1212
if: (branch = staging OR branch = trying OR branch = master) OR (type = pull_request AND branch = master)
1313

1414
matrix:
15+
allow_failures:
16+
- rust: nightly
1517
include:
1618
- env: TARGET=riscv64imac-unknown-none-elf
1719
rust: nightly
@@ -26,6 +28,10 @@ matrix:
2628
language: bash
2729
if: (branch = staging OR branch = trying OR branch = master) OR (type = pull_request AND branch = master)
2830

31+
- env: RUSTFMT=1
32+
rust: stable
33+
if: (branch = staging OR branch = trying OR branch = master) OR (type = pull_request AND branch = master)
34+
2935

3036
install:
3137
- ci/install.sh
@@ -38,9 +44,6 @@ cache:
3844
cargo: true
3945
directories:
4046
- gcc
41-
before_cache:
42-
# Travis can't cache files that are not readable by "others"
43-
- chmod -R a+r $HOME/.cargo
4447

4548
branches:
4649
only:

CHANGELOG.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# Change Log
2+
3+
All notable changes to this project will be documented in this file.
4+
5+
The format is based on [Keep a Changelog](http://keepachangelog.com/)
6+
and this project adheres to [Semantic Versioning](http://semver.org/).
7+
8+
## [Unreleased]
9+
10+
### Changed
11+
12+
- Updated Minimum Supported Rust Version to 1.31.0
13+
- Use `llvm_asm!` instead of `asm!`
14+
15+
## [v0.5.6] - 2020-03-14
16+
17+
### Added
18+
19+
- Added vexriscv-specific registers
20+
21+
## [v0.5.5] - 2020-02-28
22+
23+
### Added
24+
25+
- Added `riscv32i-unknown-none-elf` target support
26+
- Added user trap setup and handling registers
27+
- Added write methods for the `mip` and `satp` registers
28+
- Added `mideleg` register
29+
- Added Changelog
30+
31+
### Changed
32+
33+
- Fixed MSRV by restricting the upper bound of `bare-metal` version
34+
35+
[Unreleased]: https://github.com/rust-embedded/riscv/compare/v0.5.6...HEAD
36+
[v0.5.6]: https://github.com/rust-embedded/riscv/compare/v0.5.5...v0.5.6
37+
[v0.5.5]: https://github.com/rust-embedded/riscv/compare/v0.5.4...v0.5.5

CODE_OF_CONDUCT.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22

33
## Conduct
44

5-
**Contact**: [RISCV team](https://github.com/rust-embedded/wg#the-riscv-team)
5+
**Contact**: [RISC-V team](https://github.com/rust-embedded/wg#the-riscv-team)
66

77
* We are committed to providing a friendly, safe and welcoming environment for all, regardless of level of experience, gender identity and expression, sexual orientation, disability, personal appearance, body size, race, ethnicity, age, religion, nationality, or other similar characteristic.
88
* On IRC, please avoid using overtly sexual nicknames or other nicknames that might detract from a friendly, safe and welcoming environment for all.
99
* Please be kind and courteous. There's no need to be mean or rude.
1010
* Respect that people have differences of opinion and that every design or implementation choice carries a trade-off and numerous costs. There is seldom a right answer.
1111
* Please keep unstructured critique to a minimum. If you have solid ideas you want to experiment with, make a fork and see how it works.
1212
* We will exclude you from interaction if you insult, demean or harass anyone. That is not welcome behavior. We interpret the term "harassment" as including the definition in the [Citizen Code of Conduct](http://citizencodeofconduct.org/); if you have any lack of clarity about what might be included in that concept, please read their definition. In particular, we don't tolerate behavior that excludes people in socially marginalized groups.
13-
* Private harassment is also unacceptable. No matter who you are, if you feel you have been or are being harassed or made uncomfortable by a community member, please contact one of the channel ops or any of the [RISCV team][team] immediately. Whether you're a regular contributor or a newcomer, we care about making this community a safe place for you and we've got your back.
13+
* Private harassment is also unacceptable. No matter who you are, if you feel you have been or are being harassed or made uncomfortable by a community member, please contact one of the channel ops or any of the [RISC-V team][team] immediately. Whether you're a regular contributor or a newcomer, we care about making this community a safe place for you and we've got your back.
1414
* Likewise any spamming, trolling, flaming, baiting or other attention-stealing behavior is not welcome.
1515

1616
## Moderation

Cargo.toml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "riscv"
3-
version = "0.5.0"
3+
version = "0.5.6"
44
repository = "https://github.com/rust-embedded/riscv"
55
authors = ["The RISC-V Team <[email protected]>"]
66
categories = ["embedded", "hardware-support", "no-std"]
@@ -9,10 +9,12 @@ keywords = ["riscv", "register", "peripheral"]
99
license = "ISC"
1010

1111
[dependencies]
12-
bare-metal = "0.2.0"
12+
bare-metal = "0.2.5"
1313
bitflags = "1.0"
14-
bit_field = "0.9.0"
15-
log = "0.4"
14+
bit_field = "0.10.0"
15+
16+
[build-dependencies]
17+
riscv-target = "0.1.2"
1618

1719
[features]
18-
inline-asm = []
20+
inline-asm = []

README.md

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,20 @@
44

55
# `riscv`
66

7-
> Low level access to RISCV processors
7+
> Low level access to RISC-V processors
88
9-
This project is developed and maintained by the [RISCV team][team].
9+
This project is developed and maintained by the [RISC-V team][team].
1010

1111
## [Documentation](https://docs.rs/crate/riscv)
1212

13+
## Minimum Supported Rust Version (MSRV)
14+
15+
This crate is guaranteed to compile on stable Rust 1.31.0 and up. It *might*
16+
compile with older versions but that may change in any new patch release.
17+
1318
## License
1419

15-
Copyright 2018 [RISCV team][team]
20+
Copyright 2019 [RISC-V team][team]
1621

1722
Permission to use, copy, modify, and/or distribute this software for any purpose
1823
with or without fee is hereby granted, provided that the above copyright notice
@@ -29,7 +34,7 @@ THIS SOFTWARE.
2934
## Code of Conduct
3035

3136
Contribution to this crate is organized under the terms of the [Rust Code of
32-
Conduct][CoC], the maintainer of this crate, the [RISCV team][team], promises
37+
Conduct][CoC], the maintainer of this crate, the [RISC-V team][team], promises
3338
to intervene to uphold that code of conduct.
3439

3540
[CoC]: CODE_OF_CONDUCT.md

0 commit comments

Comments
 (0)