aboutsummaryrefslogtreecommitdiff
path: root/macros/src
AgeCommit message (Collapse)Author
2019-02-26refactor: make `binds` harder to misuseJorge Aparicio
2019-02-26`binds` can only appear once in the argument listJorge Aparicio
2019-02-26add `binds` example and make it workJorge Aparicio
2019-02-26make cfail test actually failJorge Aparicio
2019-02-26add `binds` argument to the `interrupt` and `exception` attributesJorge Aparicio
2019-02-23reject duplicate arguments in #[interrupt] and #[exception]Jorge Aparicio
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" featureJorge Aparicio
2019-02-16rebase fixJorge Aparicio
2019-02-16cargo fmtJorge Aparicio
2019-02-16make debug builds reproducibleJorge Aparicio
2019-02-16Make generated names stable when sorting.Hugo van der Wijst
2019-02-16Seed RNG with package name and prepend string to full random name.Hugo van der Wijst
2019-02-16Make identifiers deterministic.Hugo van der Wijst
2019-02-16Make builds reproducibleHugo van der Wijst
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 warningsJorge Aparicio
2019-02-12accept `init: fn() -> init::LateResources`Jorge Aparicio
2019-02-12forbid early returns in initJorge Aparicio
2019-01-17Fix build on recent nightlies.Hugo van der Wijst
2018-12-16move macros crate to the 2018 editionJorge Aparicio
2018-12-16properly handle `#[cfg]` (conditional compilation) on tasksJorge Aparicio
2018-12-16properly handle #[cfg] (conditional compilation) on resourcesJorge Aparicio
2018-12-16use the single core variant of spsc::QueueJorge Aparicio
2018-12-15codegen/statics: forward #[cfg] attributesJorge Aparicio
fixes #110
2018-12-15move some interrupt configuration to pre_initJorge Aparicio
2018-12-15codegen: merge dictionaries related to task dispatchersJorge Aparicio
2018-12-15codegen: merge dictionaries related to tasksJorge Aparicio
2018-12-02codegen: stop using `export_name`Jorge Aparicio
`export_name` creates external symbols that won't be removed when using `-Z emit-stack-sizes`
2018-11-04fix codegenJorge Aparicio
2018-11-04impl Mutex on all shared resourcesJorge Aparicio
document how to write generic code that operates on resources
2018-11-03v0.4.0Jorge Aparicio
closes #32 closes #33
2018-08-24more fixesJorge Aparicio
2018-06-07Fix "Could not find `Op` in `proc_macro`"Ferdia McKeogh
2018-04-16update parserJorge Aparicio
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.0Jorge Aparicio
2018-01-11adapt to changes in the cortex-m crateJorge Aparicio
2017-12-17add missing commaJorge Aparicio
2017-12-09safe `&'static mut` references via init.resourcesJorge Aparicio
2017-12-09implement the Resource trait for owned resourcesJorge Aparicio
this unbreaks the "generics" example
2017-12-09drop the Static wrapperJorge Aparicio
2017-12-09make resource proxies not SyncJorge Aparicio
2017-12-09make resource proxies !SendJorge Aparicio
2017-12-09rename LateResourceValues to LateResourcesJorge Aparicio
2017-12-09remove special case around peripherals from codegenJorge Aparicio
2017-12-09peripherals as scoped singletonsJorge Aparicio
2017-11-22v0.2.2Jorge Aparicio
2017-10-02fix `idle::Resources::new`Jorge Aparicio
it assumed that all resources were "early" resources
2017-09-22Fix shared resource handling and extend example.Jonas Schievink
The extended example tests that this actually works this time.
2017-09-22Simplify iterator usageJonas Schievink
2017-09-06Use `untagged_option` crateJonas Schievink
2017-09-03Allow initialization of resources in `init`.Jonas Schievink