Merge pull request #324 from rtfm-rs/v0.5.2_release

Prepare for v0.5.2 release
This commit is contained in:
Emil Fresk 2020-06-11 19:07:46 +02:00 committed by GitHub
commit 4a0393f756
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 15 additions and 7 deletions

View file

@ -5,6 +5,14 @@ This project adheres to [Semantic Versioning](http://semver.org/).
## [Unreleased]
## [v0.5.2] - 2020-06-11
- Using safe `DWT` interface
- Using GitHub Actions now
- Improved CI speed
- Now `main` can be used as function name
- Fixed so one can `cfg`-out resources when using a newer compiler
## [v0.5.1] - 2019-11-19
- Fixed arithmetic wrapping bug in src/cyccntr.rs
elapsed and duration could cause an internal overflow trap
@ -305,7 +313,8 @@ Yanked due to a soundness issue in `init`; the issue has been mostly fixed in v0
- Initial release
[Unreleased]: https://github.com/rtfm-rs/cortex-m-rtfm/compare/v0.5.1...HEAD
[Unreleased]: https://github.com/rtfm-rs/cortex-m-rtfm/compare/v0.5.2...HEAD
[v0.5.2]: https://github.com/rtfm-rs/cortex-m-rtfm/compare/v0.5.1...v0.5.2
[v0.5.1]: https://github.com/rtfm-rs/cortex-m-rtfm/compare/v0.5.0...v0.5.1
[v0.5.0]: https://github.com/rtfm-rs/cortex-m-rtfm/compare/v0.4.3...v0.5.0
[v0.4.3]: https://github.com/rtfm-rs/cortex-m-rtfm/compare/v0.4.2...v0.4.3

View file

@ -13,7 +13,7 @@ license = "MIT OR Apache-2.0"
name = "cortex-m-rtfm"
readme = "README.md"
repository = "https://github.com/rtfm-rs/cortex-m-rtfm"
version = "0.5.1"
version = "0.5.2"
[lib]
name = "rtfm"

View file

@ -9,8 +9,7 @@ use panic_semihosting as _;
#[rtfm::app(device = lm3s6965)]
const APP: () = {
#[init]
fn init(_: init::Context) {
}
fn init(_: init::Context) {}
#[idle]
fn main(_: main::Context) -> ! {

View file

@ -108,8 +108,9 @@ pub fn codegen(
}
let locals_new = locals_new.iter();
let call_init =
Some(quote!(let late = crate::#name(#(#locals_new,)* #name::Context::new(core.into()));));
let call_init = Some(
quote!(let late = crate::#name(#(#locals_new,)* #name::Context::new(core.into()));),
);
root_init.push(module::codegen(Context::Init(core), needs_lt, app, extra));

View file

@ -164,7 +164,6 @@ pub trait Monotonic {
/// A marker trait that indicates that it is correct to use this type in multi-core context
pub trait MultiCore {}
/// Sets the given `interrupt` as pending
///
/// This is a convenience function around