Skip to content
Snippets Groups Projects
Commit 4eb02a2c authored by Jorge Aparicio's avatar Jorge Aparicio
Browse files

v0.3.1

parent 245a6d53
No related branches found
No related tags found
No related merge requests found
......@@ -7,6 +7,14 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
## [Unreleased]
## [v0.3.1] - 2017-07-20
### Changed
- `{basepri,basepri_max}::write` are now compiler barriers for the same reason
that `interrupt::{disable,enable}` are: they are used to create critical
sections.
## [v0.3.0] - 2017-07-07
### Changed
......@@ -345,7 +353,8 @@ fn main() {
- Functions to get the vector table
- Wrappers over miscellaneous instructions like `bkpt`
[Unreleased]: https://github.com/japaric/cortex-m/compare/v0.3.0...HEAD
[Unreleased]: https://github.com/japaric/cortex-m/compare/v0.3.1...HEAD
[v0.3.1]: https://github.com/japaric/cortex-m/compare/v0.3.0...v0.3.1
[v0.3.0]: https://github.com/japaric/cortex-m/compare/v0.2.11...v0.3.0
[v0.2.11]: https://github.com/japaric/cortex-m/compare/v0.2.10...v0.2.11
[v0.2.10]: https://github.com/japaric/cortex-m/compare/v0.2.9...v0.2.10
......
......@@ -7,7 +7,7 @@ keywords = ["arm", "cortex-m", "register", "peripheral"]
license = "MIT OR Apache-2.0"
name = "cortex-m"
repository = "https://github.com/japaric/cortex-m"
version = "0.3.0"
version = "0.3.1"
[dependencies]
aligned = "0.1.1"
......
......@@ -20,6 +20,6 @@ pub unsafe fn write(basepri: u8) {
asm!("msr BASEPRI, $0"
:
: "r"(basepri)
:
: "memory"
: "volatile");
}
......@@ -10,7 +10,7 @@ pub fn write(basepri: u8) {
asm!("msr BASEPRI_MAX, $0"
:
: "r"(basepri)
:
: "memory"
: "volatile");
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment