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]
|
## [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
|
## [v0.2.4] - 2018-01-26
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ keywords = ["arm", "cortex-m", "template"]
|
|||||||
license = "MIT OR Apache-2.0"
|
license = "MIT OR Apache-2.0"
|
||||||
name = "cortex-m-quickstart"
|
name = "cortex-m-quickstart"
|
||||||
repository = "https://github.com/japaric/cortex-m-quickstart"
|
repository = "https://github.com/japaric/cortex-m-quickstart"
|
||||||
version = "0.2.4"
|
version = "0.2.5"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
cortex-m = "0.4.0"
|
cortex-m = "0.4.0"
|
||||||
|
|||||||
@@ -31,7 +31,7 @@
|
|||||||
//!
|
//!
|
||||||
//! #[lang = "panic_fmt"]
|
//! #[lang = "panic_fmt"]
|
||||||
//! #[no_mangle]
|
//! #[no_mangle]
|
||||||
//! unsafe extern "C" fn rust_begin_unwind(
|
//! pub unsafe extern "C" fn rust_begin_unwind(
|
||||||
//! args: core::fmt::Arguments,
|
//! args: core::fmt::Arguments,
|
||||||
//! file: &'static str,
|
//! file: &'static str,
|
||||||
//! line: u32,
|
//! line: u32,
|
||||||
@@ -42,7 +42,7 @@
|
|||||||
//! .and_then(|_| {
|
//! .and_then(|_| {
|
||||||
//! stdout
|
//! stdout
|
||||||
//! .write_fmt(args)
|
//! .write_fmt(args)
|
||||||
//! .and_then(|_| writeln!(stdout, "', {}:{}", file, line))
|
//! .and_then(|_| writeln!(stdout, "', {}:{}:{}", file, line, col))
|
||||||
//! })
|
//! })
|
||||||
//! .ok();
|
//! .ok();
|
||||||
//! }
|
//! }
|
||||||
|
|||||||
@@ -31,7 +31,6 @@
|
|||||||
//! #![feature(used)]
|
//! #![feature(used)]
|
||||||
//! #![feature(global_allocator)]
|
//! #![feature(global_allocator)]
|
||||||
//! #![no_std]
|
//! #![no_std]
|
||||||
//! #[allow(deprecated)]
|
|
||||||
//!
|
//!
|
||||||
//! // This is the allocator crate; you can use a different one
|
//! // This is the allocator crate; you can use a different one
|
||||||
//! extern crate alloc_cortex_m;
|
//! extern crate alloc_cortex_m;
|
||||||
@@ -58,7 +57,7 @@
|
|||||||
//! fn main() {
|
//! fn main() {
|
||||||
//! // Initialize the allocator
|
//! // Initialize the allocator
|
||||||
//! let start = unsafe { &mut _sheap as *mut u32 as usize };
|
//! 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) }
|
//! unsafe { ALLOCATOR.init(start, end - start) }
|
||||||
//!
|
//!
|
||||||
//! // Growable array allocated on the heap
|
//! // Growable array allocated on the heap
|
||||||
|
|||||||
Reference in New Issue
Block a user