aboutsummaryrefslogtreecommitdiff
path: root/macros
AgeCommit message (Collapse)Author
2019-04-21v0.4.3Jorge Aparicio
2019-04-16Merge #170bors[bot]
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 fixJorge Aparicio
2019-04-16more nightly fixesJorge Aparicio
2019-04-16[NFC] fix nightly ciJorge Aparicio
2019-04-16check task priority at compile timeJorge Aparicio
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-27v0.4.2Jorge Aparicio
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-12bump macros versionJorge 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-16v0.4.0Jorge Aparicio
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-040.4.0-beta.2Jorge Aparicio
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-03update macros/Cargo.tomlJorge Aparicio
2018-11-03v0.4.0Jorge Aparicio
closes #32 closes #33
2018-08-24v0.3.3Jorge Aparicio
2018-08-24more fixesJorge Aparicio
2018-06-07Fix mistakes in dependenciesFerdia McKeogh
2018-06-07Fix "Could not find `Op` in `proc_macro`"Ferdia McKeogh
2018-04-16switch to a crates.io release of rtfm-syntaxJorge Aparicio
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-23switch to master branchesJorge Aparicio