aboutsummaryrefslogtreecommitdiff
path: root/macros/src (follow)
AgeCommit message (Collapse)AuthorFilesLines
2018-12-16use the single core variant of spsc::QueueGravatar Jorge Aparicio 1-2/+2
2018-12-15codegen/statics: forward #[cfg] attributesGravatar Jorge Aparicio 2-1/+25
fixes #110
2018-12-15move some interrupt configuration to pre_initGravatar Jorge Aparicio 1-22/+26
2018-12-15codegen: merge dictionaries related to task dispatchersGravatar Jorge Aparicio 1-14/+23
2018-12-15codegen: merge dictionaries related to tasksGravatar Jorge Aparicio 1-94/+106
2018-12-02codegen: stop using `export_name`Gravatar Jorge Aparicio 1-52/+58
`export_name` creates external symbols that won't be removed when using `-Z emit-stack-sizes`
2018-11-04fix codegenGravatar Jorge Aparicio 1-7/+15
2018-11-04impl Mutex on all shared resourcesGravatar Jorge Aparicio 2-30/+74
document how to write generic code that operates on resources
2018-11-03v0.4.0Gravatar Jorge Aparicio 6-880/+3612
closes #32 closes #33
2018-08-24more fixesGravatar Jorge Aparicio 2-3/+2
2018-06-07Fix "Could not find `Op` in `proc_macro`"Gravatar Ferdia McKeogh 2-18/+17
2018-04-16update parserGravatar Jorge Aparicio 4-116/+44
closes #69 this doesn't change functionality per se but improves diagnostics in some cases. Some hard errors have becomes warnings, for example: when `resources` is empty, or when `idle.path` is set to the default `idle` path.
2018-01-15v0.3.0Gravatar Jorge Aparicio 1-7/+15
2018-01-11adapt to changes in the cortex-m crateGravatar Jorge Aparicio 1-2/+2
2017-12-17add missing commaGravatar Jorge Aparicio 1-1/+1
2017-12-09safe `&'static mut` references via init.resourcesGravatar Jorge Aparicio 2-9/+52
2017-12-09implement the Resource trait for owned resourcesGravatar Jorge Aparicio 2-202/+209
this unbreaks the "generics" example
2017-12-09drop the Static wrapperGravatar Jorge Aparicio 1-13/+13
2017-12-09make resource proxies not SyncGravatar Jorge Aparicio 1-2/+0
2017-12-09make resource proxies !SendGravatar Jorge Aparicio 1-2/+6
2017-12-09rename LateResourceValues to LateResourcesGravatar Jorge Aparicio 1-3/+3
2017-12-09remove special case around peripherals from codegenGravatar Jorge Aparicio 1-209/+114
2017-12-09peripherals as scoped singletonsGravatar Jorge Aparicio 2-9/+27
2017-11-22v0.2.2v0.2.2Gravatar Jorge Aparicio 1-41/+37
2017-10-02fix `idle::Resources::new`Gravatar Jorge Aparicio 1-2/+8
it assumed that all resources were "early" resources
2017-09-22Fix shared resource handling and extend example.Gravatar Jonas Schievink 1-4/+9
The extended example tests that this actually works this time.
2017-09-22Simplify iterator usageGravatar Jonas Schievink 1-17/+10
2017-09-06Use `untagged_option` crateGravatar Jonas Schievink 1-3/+3
2017-09-03Allow initialization of resources in `init`.Gravatar Jonas Schievink 1-24/+81
2017-07-29v0.2.0v0.2.0Gravatar Jorge Aparicio 1-1/+1
2017-07-29update examplesrelease/v0.1Gravatar Jorge Aparicio 2-4/+144
2017-07-27`Send`-ness check is now in rtfm-coreGravatar Jorge Aparicio 1-20/+0
2017-07-27make task.$T.path mandatoryGravatar Jorge Aparicio 2-56/+30
2017-07-27make task.$T.enabled optionalGravatar Jorge Aparicio 2-40/+102
and move the logic that differentiates interrupts from exceptions from the crate to the procedural macro logic
2017-07-27don't generate empty modulesGravatar Jorge Aparicio 1-11/+16
2017-07-27make task.$T.priority optionalGravatar Jorge Aparicio 1-20/+8
default the value to 1 if omitted
2017-07-27refactor Resource / Threshold into its own crate, drop task!, tweak rtfm::atomicGravatar Jorge Aparicio 1-9/+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-26provide a Threshold token even when all resources are locklessGravatar Jorge Aparicio 1-7/+5
because the token will always be required for calling generic functions
2017-07-26fix around owned idle resourceGravatar Jorge Aparicio 1-1/+5
2017-07-25fix errors around the use of `super` in relative pathsGravatar Jorge Aparicio 1-4/+4
2017-07-24more "hygiene"Gravatar Jorge Aparicio 1-8/+12
prepend an underscore to the name of the statics generated in the root of the crate
2017-07-24task! is not needed if tasks.$T.path is specifiedGravatar Jorge Aparicio 2-54/+116
2017-07-23don't wrap static references in a `Static`Gravatar Jorge Aparicio 1-9/+4
2017-07-23drop rtfm::CellGravatar Jorge Aparicio 1-21/+33
2017-07-23drop idle.localsGravatar Jorge Aparicio 1-43/+6
2017-07-20misc fixesGravatar Jorge Aparicio 1-7/+7
2017-07-20doc tweaksGravatar Jorge Aparicio 1-0/+5
2017-07-20`Resource` trait, docs, examples and rtfm-syntax related changesGravatar Jorge Aparicio 1-37/+84
2017-07-18make compatible with the unsafe_code lintGravatar Jorge Aparicio 1-0/+10
2017-07-18tasks / idle have exclusive access to Threshold, but do not own the tokenGravatar Jorge Aparicio 1-2/+2