rtic
rtic copied to clipboard
Real-Time Interrupt-driven Concurrency (RTIC) framework for ARM Cortex-M microcontrollers
Async/await codegen - [x] ~~`async idle`~~ - [ ] Support 0-priority async tasks for non-`Send` argument - [x] Disallow task local resources in `async` tasks Design document: https://hackmd.io/6ejCFNBJTuKBwnuz0O41iQ Depends on...
In my task I have a type that requires explicit lifetime. The only thing (I think) I can do is to use `'static`. Then I would like to avoid `unsafe`...
Code to replicate: ```rust #[shared] struct Shared { #[cfg(feature = "h7")] uart_elrs: Usart, #[cfg(feature = "g4")] uart_elrs: Usart } ``` Error: ```rust error: this resource is listed more than once...
It's easy to end up with a very large src/main.rs / `mod app` with RTIC. Having a next steps section with ideas on how to grow and modularize code would...
The 0.5 book shows an example of drift-free scheduling by access a context parameter `scheduled` `cx.schedule.foo(cx.scheduled + PERIOD.cycles()).unwrap();` The book goes on to say "Using Instant::now instead of scheduled would...
Hi. Not sure if this is the right place for this, but hopefully you can help. I'm working on an rp2040 project, and want to implement `Monotonic` using the `embedded_time`...
this PR contains a proof-of-concept implementation of the actor API proposed in rtic-rs/rfcs#52 the files added to the `examples` directory are tests of the feature semantics a full example, with...
So you can move init code out of the file containing the `RTIC::app`. An attempt to delegate inside `init`, for example, leads to this error: ```rust 1 error: this item...
This PR allows users to name the lock types of shared resources. This is useful to pass the locks to other functions. It's not always possible to just specify the...
Hi, My app has several diferent configurations (set of pins, constants, etc) that I control via cargo features and conditional compilation. I've tried to do the same for interrupt handlers...