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

v0.1.0

parent acdfa6f0
No related branches found
No related tags found
No related merge requests found
# Change Log
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).
## [Unreleased]
## v0.1.0 - 2017-05-09
- Initial release
[Unreleased]: https://github.com/japaric/cortex-m-rtfm/compare/v0.1.0...HEAD
...@@ -17,7 +17,7 @@ quote = "0.3.15" ...@@ -17,7 +17,7 @@ quote = "0.3.15"
syn = "0.11.10" syn = "0.11.10"
[dependencies] [dependencies]
cortex-m = "0.2.5" cortex-m = "0.2.6"
static-ref = "0.1.0" static-ref = "0.1.0"
typenum = "1.7.0" typenum = "1.7.0"
......
...@@ -3,7 +3,8 @@ ...@@ -3,7 +3,8 @@
# `cortex-m-rtfm` # `cortex-m-rtfm`
> Real Time For the Masses (Cortex-M edition) > Real Time For the Masses (RTFM), a framework for building concurrent
> applications, for ARM Cortex-M MCUs
# [Manual](https://docs.rs/cortex-m-rtfm) # [Manual](https://docs.rs/cortex-m-rtfm)
......
...@@ -18,10 +18,10 @@ ...@@ -18,10 +18,10 @@
//! multitasking**. //! multitasking**.
//! - **Efficient and data race free memory sharing** through fine grained *non //! - **Efficient and data race free memory sharing** through fine grained *non
//! global* critical sections. //! global* critical sections.
//! - **Deadlock free execution**, guaranteed at compile time. //! - **Deadlock free execution** guaranteed at compile time.
//! - **Minimal scheduling overhead** as the scheduler has no "software //! - **Minimal scheduling overhead** as the scheduler has no "software
//! component"; the hardware does all the scheduling. //! component": the hardware does all the scheduling.
//! - **Highly efficient memory usage**. All the tasks share a single call stack //! - **Highly efficient memory usage**: All the tasks share a single call stack
//! and there's no hard dependency on a dynamic memory allocator. //! and there's no hard dependency on a dynamic memory allocator.
//! - **All Cortex M3, M4 and M7 devices are fully supported**. M0(+) is //! - **All Cortex M3, M4 and M7 devices are fully supported**. M0(+) is
//! partially supported as the whole API is not available due to missing //! partially supported as the whole API is not available due to missing
...@@ -489,6 +489,8 @@ impl<T, TASK> Local<T, TASK> { ...@@ -489,6 +489,8 @@ impl<T, TASK> Local<T, TASK> {
unsafe impl<T, TASK> Sync for Local<T, TASK> {} unsafe impl<T, TASK> Sync for Local<T, TASK> {}
/// A resource with ceiling `C` /// A resource with ceiling `C`
///
/// A resource is used to share memory between two or more tasks
pub struct Resource<T, C> { pub struct Resource<T, C> {
_ceiling: PhantomData<C>, _ceiling: PhantomData<C>,
data: UnsafeCell<T>, data: UnsafeCell<T>,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment