v0.2.5
This commit is contained in:
10
CHANGELOG.md
10
CHANGELOG.md
@@ -5,6 +5,16 @@ This project adheres to [Semantic Versioning](http://semver.org/).
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
## [v0.2.5] - 2018-02-26
|
||||
|
||||
### Added
|
||||
|
||||
- Comments to Cargo.toml and Xargo.toml to make it easier to try the examples.
|
||||
|
||||
### Fixed
|
||||
|
||||
- The `allocator` example to use the `#[global_allocator]` feature.
|
||||
|
||||
## [v0.2.4] - 2018-01-26
|
||||
|
||||
### Changed
|
||||
|
||||
@@ -6,7 +6,7 @@ keywords = ["arm", "cortex-m", "template"]
|
||||
license = "MIT OR Apache-2.0"
|
||||
name = "cortex-m-quickstart"
|
||||
repository = "https://github.com/japaric/cortex-m-quickstart"
|
||||
version = "0.2.4"
|
||||
version = "0.2.5"
|
||||
|
||||
[dependencies]
|
||||
cortex-m = "0.4.0"
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
//!
|
||||
//! #[lang = "panic_fmt"]
|
||||
//! #[no_mangle]
|
||||
//! unsafe extern "C" fn rust_begin_unwind(
|
||||
//! pub unsafe extern "C" fn rust_begin_unwind(
|
||||
//! args: core::fmt::Arguments,
|
||||
//! file: &'static str,
|
||||
//! line: u32,
|
||||
@@ -42,7 +42,7 @@
|
||||
//! .and_then(|_| {
|
||||
//! stdout
|
||||
//! .write_fmt(args)
|
||||
//! .and_then(|_| writeln!(stdout, "', {}:{}", file, line))
|
||||
//! .and_then(|_| writeln!(stdout, "', {}:{}:{}", file, line, col))
|
||||
//! })
|
||||
//! .ok();
|
||||
//! }
|
||||
|
||||
@@ -31,7 +31,6 @@
|
||||
//! #![feature(used)]
|
||||
//! #![feature(global_allocator)]
|
||||
//! #![no_std]
|
||||
//! #[allow(deprecated)]
|
||||
//!
|
||||
//! // This is the allocator crate; you can use a different one
|
||||
//! extern crate alloc_cortex_m;
|
||||
@@ -58,7 +57,7 @@
|
||||
//! fn main() {
|
||||
//! // Initialize the allocator
|
||||
//! let start = unsafe { &mut _sheap as *mut u32 as usize };
|
||||
//! let end = unsafe { &mut _sheap as *mut u32 as usize };
|
||||
//! let end = unsafe { &mut _eheap as *mut u32 as usize };
|
||||
//! unsafe { ALLOCATOR.init(start, end - start) }
|
||||
//!
|
||||
//! // Growable array allocated on the heap
|
||||
|
||||
Reference in New Issue
Block a user