aboutsummaryrefslogtreecommitdiff
path: root/macros/src/syntax.rs (follow)
AgeCommit message (Collapse)AuthorFilesLines
2023-03-01syntax: Remove parse settings structGravatar Emil Fresk 1-20/+4
2023-03-01Old xtask test passGravatar Emil Fresk 1-21/+0
2023-03-01RTIC v2: Initial commitGravatar Emil Fresk 1-0/+158
rtic-syntax is now part of RTIC repository
2019-06-13rtfm-syntax refactor + heterogeneous multi-core supportGravatar Jorge Aparicio 1-1382/+0
2019-05-01implement RFCs 147 and 155, etc.Gravatar Jorge Aparicio 1-238/+226
This commit: - Implements RFC 147: "all functions must be safe" - Implements RFC 155: "explicit Context parameter" - Implements the pending breaking change #141: reject assign syntax in `init` (which was used to initialize late resources) - Refactors code generation to make it more readable -- there are no more random identifiers in the output -- and align it with the book description of RTFM internals. - Makes the framework hard depend on `core::mem::MaybeUninit` and thus will require nightly until that API is stabilized. - Fixes a ceiling analysis bug where the priority of the system timer was not considered in the analysis. - Shrinks the size of all the internal queues by turning `AtomicUsize` indices into `AtomicU8`s. - Removes the integration with `owned_singleton`.
2019-04-16check task priority at compile timeGravatar Jorge Aparicio 1-2/+2
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 1-1/+8
2019-02-26`binds` can only appear once in the argument listGravatar Jorge Aparicio 1-0/+7
2019-02-26add `binds` argument to the `interrupt` and `exception` attributesGravatar Jorge Aparicio 1-22/+69
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-16Make builds reproducibleGravatar Hugo van der Wijst 1-18/+18
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-12accept `init: fn() -> init::LateResources`Gravatar Jorge Aparicio 1-5/+59
2018-12-16move macros crate to the 2018 editionGravatar Jorge Aparicio 1-12/+12
2018-12-16properly handle `#[cfg]` (conditional compilation) on tasksGravatar Jorge Aparicio 1-1/+4
2018-12-16properly handle #[cfg] (conditional compilation) on resourcesGravatar Jorge Aparicio 1-9/+15
2018-12-15codegen/statics: forward #[cfg] attributesGravatar Jorge Aparicio 1-1/+22
fixes #110
2018-11-03v0.4.0Gravatar Jorge Aparicio 1-0/+1235
closes #32 closes #33