aboutsummaryrefslogtreecommitdiff
path: root/src/lib.rs (follow)
AgeCommit message (Collapse)AuthorFilesLines
2020-06-15Exclusive examplesGravatar Per Lindgren 1-1/+1
2020-06-13wip3, examples lock3 and lock4 now express intended use, relation to ↵Gravatar Per Lindgren 1-1/+1
Exclusive still not resolved
2020-06-11Rename RTFM to RTICGravatar Henrik Tjäder 1-8/+8
2020-06-11FmtGravatar Emil Fresk 1-1/+0
2020-05-26touch src/lib.rsGravatar Jorge Aparicio 1-0/+1
2019-11-13Minor docs update to monotonicGravatar Emil Fresk 1-2/+4
2019-10-15more monotonic timer docsGravatar Jorge Aparicio 1-0/+12
covers - initialization and configuration of the timer; this is now a responsibility of the application author - correctness of `Monotonic::now()` in `#[init]` - safety of `Monotonic::reset()` closes #251
2019-09-15One more place updatedGravatar Emil Fresk 1-1/+1
2019-08-21doc tweaksGravatar Jorge Aparicio 1-1/+4
2019-08-21document #[app]Gravatar Jorge Aparicio 1-5/+3
2019-07-11change Monotonic::ratio return type to FractionGravatar Jorge Aparicio 1-1/+13
2019-06-24Monotonic trait is safe; add MultiCore traitGravatar Jorge Aparicio 1-1/+4
2019-06-18add homogeneous multi-core supportGravatar Jorge Aparicio 1-1/+1
2019-06-13rtfm-syntax refactor + heterogeneous multi-core supportGravatar Jorge Aparicio 1-262/+46
2019-05-21removes the maybe_uninit feature gateGravatar Jorge Aparicio 1-1/+0
and stop newtyping `core::mem::MaybeUninit`
2019-05-01implement RFCs 147 and 155, etc.Gravatar Jorge Aparicio 1-19/+13
This commit: - Implements RFC 147: "all functions must be safe" - Implements RFC 155: "explicit Context parameter" - Implements the pending breaking change #141: reject assign syntax in `init` (which was used to initialize late resources) - Refactors code generation to make it more readable -- there are no more random identifiers in the output -- and align it with the book description of RTFM internals. - Makes the framework hard depend on `core::mem::MaybeUninit` and thus will require nightly until that API is stabilized. - Fixes a ceiling analysis bug where the priority of the system timer was not considered in the analysis. - Shrinks the size of all the internal queues by turning `AtomicUsize` indices into `AtomicU8`s. - Removes the integration with `owned_singleton`.
2019-02-23Merge #153Gravatar bors[bot] 1-0/+6
153: add "nightly" feature; replace hint::unreachable_unchecked with a panic r=korken89 a=japaric this implements the action plan described in #149 to give you a sense of the overhead of this change: it has increased the binary size of some of our examples by up to 10% but this is mainly from pulling in a panic handler that does formatting r? @korken89 Co-authored-by: Jorge Aparicio <jorge@japaric.io>
2019-02-19add Duration.as_cyclesGravatar Jorge Aparicio 1-0/+8
2019-02-19document the nightly featureGravatar Jorge Aparicio 1-0/+5
2019-02-19add "nightly" featureGravatar Jorge Aparicio 1-0/+1
2019-02-12document MSRV and SemVer policyGravatar Jorge Aparicio 1-0/+14
2019-02-11change layout of booksGravatar Jorge Aparicio 1-1/+1
2019-02-08impl Default for DurationGravatar Jorge Aparicio 1-1/+1
2019-01-09Absolute link to the book so it works on crates.ioGravatar Eddy Petrișor 1-1/+1
Signed-off-by: Eddy Petrișor <eddy.petrisor@gmail.com>
2018-12-17note that entering / leaving a critical section is always constant timeGravatar Jorge Aparicio 1-1/+2
2018-12-16note that the timer queue is not supported on ARMv6-MGravatar Jorge Aparicio 1-0/+5
2018-12-16use edition idioms in the top crateGravatar Jorge Aparicio 1-2/+2
2018-11-04impl Mutex on all shared resourcesGravatar Jorge Aparicio 1-65/+58
document how to write generic code that operates on resources
2018-11-03fix some linksGravatar Jorge Aparicio 1-1/+1
2018-11-03v0.4.0Gravatar Jorge Aparicio 1-132/+304
closes #32 closes #33
2018-08-24more fixesGravatar Jorge Aparicio 1-1/+0
2018-01-15fix documentation linkGravatar Jorge Aparicio 1-1/+1
2018-01-15v0.3.0Gravatar Jorge Aparicio 1-4/+4
2018-01-11adapt to changes in the cortex-m crateGravatar Jorge Aparicio 1-3/+4
2017-12-23add a Cargo feature, cm7-r0p1, to fix a Cortex-M7 BASEPRI erratumGravatar Jorge Aparicio 1-0/+5
2017-12-09drop the Static wrapperGravatar Jorge Aparicio 1-1/+1
2017-12-09peripherals as scoped singletonsGravatar Jorge Aparicio 1-1/+1
2017-09-22Hide `UntaggedOption` reexportGravatar Jonas Schievink 1-0/+2
2017-09-06Use `untagged_option` crateGravatar Jonas Schievink 1-1/+3
2017-09-03Allow initialization of resources in `init`.Gravatar Jonas Schievink 1-2/+1
2017-07-29v0.2.1v0.2.1Gravatar Jorge Aparicio 1-1/+3
2017-07-29v0.2.0v0.2.0Gravatar Jorge Aparicio 1-2/+20
2017-07-29update examplesrelease/v0.1Gravatar Jorge Aparicio 1-16/+16
2017-07-27make task.$T.enabled optionalGravatar Jorge Aparicio 1-22/+0
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-MGravatar Jorge Aparicio 1-3/+3
2017-07-27fix warning on ARMv6-MGravatar Jorge Aparicio 1-1/+2
2017-07-27refactor Resource / Threshold into its own crate, drop task!, tweak rtfm::atomicGravatar Jorge Aparicio 1-145/+23
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 claimGravatar Jorge Aparicio 1-0/+1
because it's needed for proper optimization / inlining
2017-07-24task! is not needed if tasks.$T.path is specifiedGravatar Jorge Aparicio 1-0/+4
2017-07-23document `task!` moreGravatar Jorge Aparicio 1-0/+9