aboutsummaryrefslogtreecommitdiff
path: root/macros/src (follow)
AgeCommit message (Collapse)AuthorFilesLines
2019-04-21v0.4.3Gravatar Jorge Aparicio 1-4/+14
2019-04-16Merge #170Gravatar bors[bot] 2-6/+4
170: check task priority at compile time r=TeXitoi a=japaric before we were checking the priority at runtime. The compile time error message when the priority is too high is kind of awful though. Co-authored-by: Jorge Aparicio <jorge@japaric.io>
2019-04-17now fix the fixGravatar Jorge Aparicio 1-2/+2
2019-04-16more nightly fixesGravatar Jorge Aparicio 1-11/+11
2019-04-16[NFC] fix nightly ciGravatar Jorge Aparicio 1-7/+7
2019-04-16check task priority at compile timeGravatar Jorge Aparicio 2-6/+4
before we were checking the priority at runtime. The compile time error message when the priority is too high is kind of awful though.
2019-02-26refactor: make `binds` harder to misuseGravatar Jorge Aparicio 3-21/+16
2019-02-26`binds` can only appear once in the argument listGravatar Jorge Aparicio 1-0/+7
2019-02-26add `binds` example and make it workGravatar Jorge Aparicio 1-2/+2
2019-02-26make cfail test actually failGravatar Jorge Aparicio 1-3/+9
2019-02-26add `binds` argument to the `interrupt` and `exception` attributesGravatar Jorge Aparicio 2-30/+85
2019-02-23reject duplicate arguments in #[interrupt] and #[exception]Gravatar Jorge Aparicio 1-0/+14
This program was being accepted: ``` rust #[task( capacity = 1, capacity = 2, priority = 1, priority = 2, )] fn foo() {} ``` now it will trigger a compiler error
2019-02-19add "nightly" featureGravatar Jorge Aparicio 1-80/+181
2019-02-16rebase fixGravatar Jorge Aparicio 1-1/+1
2019-02-16cargo fmtGravatar Jorge Aparicio 1-4/+4
2019-02-16make debug builds reproducibleGravatar Jorge Aparicio 1-101/+132
2019-02-16Make generated names stable when sorting.Gravatar Hugo van der Wijst 1-7/+28
2019-02-16Seed RNG with package name and prepend string to full random name.Gravatar Hugo van der Wijst 1-2/+8
2019-02-16Make identifiers deterministic.Gravatar Hugo van der Wijst 1-64/+54
2019-02-16Make builds reproducibleGravatar Hugo van der Wijst 3-27/+27
This is done by using `BTreeMap`s and `BTreeSet`s to get deterministic ordering. Also updated the CI job to check reproducibility of all examples.
2019-02-13fix non_camel_case_types warningsGravatar Jorge Aparicio 1-0/+1
2019-02-12accept `init: fn() -> init::LateResources`Gravatar Jorge Aparicio 3-35/+175
2019-02-12forbid early returns in initGravatar Jorge Aparicio 1-1/+246
2019-01-17Fix build on recent nightlies.Gravatar Hugo van der Wijst 1-0/+1
2018-12-16move macros crate to the 2018 editionGravatar Jorge Aparicio 5-22/+20
2018-12-16properly handle `#[cfg]` (conditional compilation) on tasksGravatar Jorge Aparicio 3-18/+66
2018-12-16properly handle #[cfg] (conditional compilation) on resourcesGravatar Jorge Aparicio 3-66/+182
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