aboutsummaryrefslogtreecommitdiff
path: root/macros/src/check.rs
AgeCommit message (Collapse)Author
2018-12-16move macros crate to the 2018 editionJorge Aparicio
2018-12-16properly handle `#[cfg]` (conditional compilation) on tasksJorge Aparicio
2018-11-03v0.4.0Jorge Aparicio
closes #32 closes #33
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.
2017-12-09safe `&'static mut` references via init.resourcesJorge Aparicio
2017-12-09peripherals as scoped singletonsJorge Aparicio
2017-07-29update examplesJorge Aparicio
2017-07-27make task.$T.path mandatoryJorge Aparicio
2017-07-27make task.$T.enabled optionalJorge Aparicio
and move the logic that differentiates interrupts from exceptions from the crate to the procedural macro logic
2017-07-27make task.$T.priority optionalJorge Aparicio
default the value to 1 if omitted
2017-07-24task! is not needed if tasks.$T.path is specifiedJorge Aparicio
2017-07-18adapt to changes in rtfm-syntaxJorge Aparicio
2017-07-14rename rtfm! to app! and adapt to changes in rtfm-syntaxJorge Aparicio
2017-07-14split macro parser into its own crate and improve error handling / reportingJorge Aparicio
2017-07-06syntax tweaks, relax check, add set_pending(), deal with imported typesJorge Aparicio
- allow trailing commas in list of resources - make task.resources optional - add rtfm::set_pending function which can be used to force an interrupt into the pending state. This is a replacement of the old rtfm::request. rtfm::set_pending takes the Interrupt enum provided by the device crate as argument. (The old rtfm::request took a task function as argument) - the user may want to use types they imported into the root of the crate. These types are not available in e.g. `mod idle` so `idle::Resources` *can't* be defined in that module. To workaround this problem `idle::Resources` will be defined in the root, with some other name, and then be re-exported in the `idle` module. - remove the "a resource only used by one task should be local data" check. In some cases you do want a resource owned by a single task instead of local data since `init` can access resources but not a task local data.
2017-07-04rtfm! macro take 2Jorge Aparicio