aboutsummaryrefslogtreecommitdiff
path: root/src (follow)
AgeCommit message (Collapse)AuthorFilesLines
2017-07-29update examplesrelease/v0.1Gravatar Jorge Aparicio 6-45/+33
2017-07-27update examplesGravatar Jorge Aparicio 7-138/+114
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
2017-07-23drop rtfm::CellGravatar Jorge Aparicio 1-35/+7
2017-07-20doc tweaksGravatar Jorge Aparicio 1-2/+3
2017-07-20update CIGravatar Jorge Aparicio 1-2/+5
2017-07-20`Resource` trait, docs, examples and rtfm-syntax related changesGravatar Jorge Aparicio 9-132/+753
2017-07-20bump cortex-m version to v0.3.1Gravatar Jorge Aparicio 1-9/+0
barrier! is no longer needed
2017-07-18make compatible with the unsafe_code lintGravatar Jorge Aparicio 1-0/+2
2017-07-18tasks / idle have exclusive access to Threshold, but do not own the tokenGravatar Jorge Aparicio 1-4/+4
2017-07-14rename rtfm! to app! and adapt to changes in rtfm-syntaxGravatar Jorge Aparicio 1-1/+1
2017-07-14split macro parser into its own crate and improve error handling / reportingGravatar Jorge Aparicio 1-1/+27
2017-07-11compiler plugin -> proc macroGravatar Jorge Aparicio 1-0/+3
2017-07-06syntax tweaks, relax check, add set_pending(), deal with imported typesGravatar Jorge Aparicio 1-0/+11
- 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 2Gravatar Jorge Aparicio 1-902/+170
2017-06-05fix unused macro errorGravatar Jorge Aparicio 1-0/+1
2017-05-25make the register_block field optional in the peripherals! macroGravatar Jorge Aparicio 1-0/+16
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 sectionGravatar Jorge Aparicio 1-4/+4
2017-05-09v0.1.0v0.1.0Gravatar Jorge Aparicio 1-3/+5
2017-05-08drop the Ceiling newtypeGravatar Jorge Aparicio 1-13/+6
it's not required as the user never deal with Ceiling tokens
2017-05-08require Resource protected data to be Send, make tokens !SendGravatar Jorge Aparicio 1-1/+12
2017-05-08replace the ceiling token with a preemption threshold tokenGravatar Jorge Aparicio 1-100/+111
2017-04-28update examplesGravatar Jorge Aparicio 1-27/+16
2017-04-27make the ceiling part of the task signatureGravatar Jorge Aparicio 1-16/+16
remove the P.as_ceiling method
2017-04-27make `as_ceiling` a general method of `P<N>`Gravatar Jorge Aparicio 1-1/+10
2017-04-27add categoriesGravatar Jorge Aparicio 1-9/+13
2017-04-26tweak attributionGravatar Jorge Aparicio 1-3/+4
2017-04-25rename `rtfm::critical` to `rtfm::atomic`, touch up the documentationGravatar Jorge Aparicio 1-43/+91
2017-04-25hide the unsafe Peripheral::new constructorGravatar Jorge Aparicio 1-18/+85
`peripherals!` is the safe way to declare `Peripheral`s
2017-04-25ignore no_mangle related warningGravatar Jorge Aparicio 1-0/+1
2017-04-25add a `peripherals!` macroGravatar Jorge Aparicio 1-0/+18
for safe declaration of `Peripheral`s closes #12
2017-04-25fix build for thumbv6mGravatar Jorge Aparicio 1-0/+1
2017-04-25update examples in doc commentsGravatar Jorge Aparicio 1-7/+27
2017-04-25change tasks! syntax to resemble struct initializationGravatar Jorge Aparicio 1-1/+5
2017-04-25update examplesGravatar Jorge Aparicio 1-42/+43
2017-04-21update the examples in the crate documentationGravatar Jorge Aparicio 1-35/+38
2017-04-21add `enable` / `disable` functions, add $enabled parameter to tasks!Gravatar Jorge Aparicio 1-34/+65
2017-04-21rename `borrow` to `access`Gravatar Jorge Aparicio 1-36/+37
2017-04-21add `borrow_mut` to LocalGravatar Jorge Aparicio 1-0/+8
2017-04-21raise_to -> Ceiling.raiseGravatar Jorge Aparicio 1-25/+22
2017-04-21drop `lock` methods, add `raise_to` functionGravatar Jorge Aparicio 1-68/+48
2017-04-21rename "system ceiling" to "current ceiling"Gravatar Jorge Aparicio 1-3/+3
2017-04-21more docs, remove Ceiling / Priority / Level traitsGravatar Jorge Aparicio 1-112/+493
2017-04-20fix warning on thumbv6m-none-eabiGravatar Jorge Aparicio 1-2/+2