mirror of
https://github.com/ferrous-systems/embedded-trainings-2020.git
synced 2025-01-09 07:45:34 +00:00
correct the expansion of the RTIC acronym
This commit is contained in:
parent
0308868702
commit
0930ccd3f5
1 changed files with 3 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
|||
# RTIC hello
|
||||
|
||||
RTIC, Real Time on Integrated Circuits, is a framework for building evented, time sensitive applications.
|
||||
RTIC, Real-Time Interrupt-driven Concurrency, is a framework for building evented, time sensitive applications.
|
||||
|
||||
✅ Open the `src/bin/rtic-hello.rs` file.
|
||||
|
||||
|
@ -10,7 +10,7 @@ RTIC makes a clearer distinction between the application's initialization phase,
|
|||
|
||||
`rtic::app` is a procedural macro that generates extra Rust code, in addition to the user's functions. The fully expanded version of the macro can be found in the file `target/rtic-expansion.rs`. This file will contain the expansion of the procedural macro for the last compiled RTIC application.
|
||||
|
||||
✅ Build the `rtic-hello` example and look at the generated `rtic-expansion.rs` file.
|
||||
✅ Build the `rtic-hello` example and look at the generated `rtic-expansion.rs` file.
|
||||
|
||||
The generated code should look like this. Note that interrupts are disabled during the execution of the `init` function:
|
||||
|
||||
|
@ -21,4 +21,4 @@ fn main() -> ! {
|
|||
rtic::export::interrupt::enable();
|
||||
idle(idle::Context::new(/* .. */))
|
||||
}
|
||||
```
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue