aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2019-02-08impl Default for DurationJorge Aparicio
2019-01-09Absolute link to the book so it works on crates.ioEddy Petrișor
Signed-off-by: Eddy Petrișor <eddy.petrisor@gmail.com>
2018-12-17note that entering / leaving a critical section is always constant timeJorge Aparicio
2018-12-16note that the timer queue is not supported on ARMv6-MJorge Aparicio
2018-12-16use edition idioms in the top crateJorge Aparicio
2018-12-16properly handle #[cfg] (conditional compilation) on resourcesJorge Aparicio
2018-12-16use the single core variant of spsc::QueueJorge Aparicio
2018-11-04impl Mutex on all shared resourcesJorge Aparicio
document how to write generic code that operates on resources
2018-11-03fix some linksJorge Aparicio
2018-11-03v0.4.0Jorge Aparicio
closes #32 closes #33
2018-08-24more fixesJorge Aparicio
2018-01-15fix documentation linkJorge Aparicio
2018-01-15v0.3.0Jorge Aparicio
2018-01-11adapt to changes in the cortex-m crateJorge Aparicio
2017-12-23add a Cargo feature, cm7-r0p1, to fix a Cortex-M7 BASEPRI erratumJorge Aparicio
2017-12-09drop the Static wrapperJorge Aparicio
2017-12-09rename LateResourceValues to LateResourcesJorge Aparicio
2017-12-09peripherals as scoped singletonsJorge Aparicio
2017-11-22v0.2.2Jorge Aparicio
2017-09-22Hide `UntaggedOption` reexportJonas Schievink
2017-09-06Use `untagged_option` crateJonas Schievink
2017-09-03Allow initialization of resources in `init`.Jonas Schievink
2017-07-29v0.2.1Jorge Aparicio
2017-07-29v0.2.0Jorge Aparicio
2017-07-29update examplesJorge Aparicio
2017-07-27update examplesJorge Aparicio
2017-07-27make task.$T.enabled optionalJorge Aparicio
and move the logic that differentiates interrupts from exceptions from the crate to the procedural macro logic
2017-07-27fix yet another warning on ARMv6-MJorge Aparicio
2017-07-27fix warning on ARMv6-MJorge Aparicio
2017-07-27refactor Resource / Threshold into its own crate, drop task!, tweak rtfm::atomicJorge Aparicio
task! can be re-added in a backward compatible fashion and I'd like to not have two ways to assign a task handler to an interrupt / exception in the first release. rtfm::atomic now uses the `Threshold` token instead of the `CriticalSection` token. This reduces overhead by dropping the "are interrupts enabled?" check.
2017-07-25inline claimJorge Aparicio
because it's needed for proper optimization / inlining
2017-07-24task! is not needed if tasks.$T.path is specifiedJorge Aparicio
2017-07-23document `task!` moreJorge Aparicio
2017-07-23drop rtfm::CellJorge Aparicio
2017-07-20doc tweaksJorge Aparicio
2017-07-20update CIJorge Aparicio
2017-07-20`Resource` trait, docs, examples and rtfm-syntax related changesJorge Aparicio
2017-07-20bump cortex-m version to v0.3.1Jorge Aparicio
barrier! is no longer needed
2017-07-18make compatible with the unsafe_code lintJorge Aparicio
2017-07-18tasks / idle have exclusive access to Threshold, but do not own the tokenJorge Aparicio
2017-07-14rename rtfm! to app! and adapt to changes in rtfm-syntaxJorge Aparicio
2017-07-14split macro parser into its own crate and improve error handling / reportingJorge Aparicio
2017-07-11compiler plugin -> proc macroJorge Aparicio
2017-07-06syntax tweaks, relax check, add set_pending(), deal with imported typesJorge Aparicio
- allow trailing commas in list of resources - make task.resources optional - add rtfm::set_pending function which can be used to force an interrupt into the pending state. This is a replacement of the old rtfm::request. rtfm::set_pending takes the Interrupt enum provided by the device crate as argument. (The old rtfm::request took a task function as argument) - the user may want to use types they imported into the root of the crate. These types are not available in e.g. `mod idle` so `idle::Resources` *can't* be defined in that module. To workaround this problem `idle::Resources` will be defined in the root, with some other name, and then be re-exported in the `idle` module. - remove the "a resource only used by one task should be local data" check. In some cases you do want a resource owned by a single task instead of local data since `init` can access resources but not a task local data.
2017-07-04rtfm! macro take 2Jorge Aparicio
2017-06-05fix unused macro errorJorge Aparicio
2017-05-25make the register_block field optional in the peripherals! macroJorge Aparicio
with svd2rust 0.8.x peripheral types are written in UPPERCASE and match their names so specifying the type in the register_block field is no longer necessary.
2017-05-15fix links in the references sectionJorge Aparicio
2017-05-09v0.1.0Jorge Aparicio
2017-05-08drop the Ceiling newtypeJorge Aparicio
it's not required as the user never deal with Ceiling tokens