aboutsummaryrefslogtreecommitdiff
path: root/macros/src/syntax.rs
AgeCommit message (Collapse)Author
2023-03-01syntax: Remove parse settings structEmil Fresk
2023-03-01Old xtask test passEmil Fresk
2023-03-01RTIC v2: Initial commitEmil Fresk
rtic-syntax is now part of RTIC repository
2019-06-13rtfm-syntax refactor + heterogeneous multi-core supportJorge Aparicio
2019-05-01implement RFCs 147 and 155, etc.Jorge Aparicio
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 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-26refactor: make `binds` harder to misuseJorge Aparicio
2019-02-26`binds` can only appear once in the argument listJorge 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-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-12accept `init: fn() -> init::LateResources`Jorge 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-15codegen/statics: forward #[cfg] attributesJorge Aparicio
fixes #110
2018-11-03v0.4.0Jorge Aparicio
closes #32 closes #33