rtic-syntax
rtic-syntax copied to clipboard
Parser of the app! macro used by the Real-Time Interrupt-driven Concurrency (RTIC) framework
Updates the requirements on [syn](https://github.com/dtolnay/syn) to permit the latest version. Release notes Sourced from syn's releases. 2.0.18 Permit empty attr in syn::meta::parser (#1460) Commits 4cae0a2 Release 2.0.18 278dbe1 Merge pull...
see rtic-rs/rfcs#52 for details includes: core proposal and first `#[init]` extension Co-authored-by: Jonas Schievink
Tasks support being externally defined, idle and init should too. rtic-syntax component of fixing https://github.com/rtic-rs/cortex-m-rtic/issues/505
In the current syntax, the capacity is limited to `u8` (0..255). We can increase the flexibility by `u16` (0..65535). Pros: Increased flexibility. Cons: None foreseen (besides the cost of implementing...
The analysis pass collects error messages manually like this: https://github.com/rtic-rs/rtic-syntax/blob/b5389b4b72fc36ab5cfb0449037c51b9764c8d3a/src/analyze.rs#L109-L115 The [proc-macro-error](https://crates.io/crates/proc-macro-error) crate provides similar functionality: it lets you emit rustc-like error, notes and warnings messages with appropriate spans. It...