correct the expansion of the RTIC acronym

This commit is contained in:
Jorge Aparicio 2020-07-15 18:06:21 +02:00
parent 0308868702
commit 0930ccd3f5

View file

@ -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(/* .. */))
}
```
```