From 0930ccd3f590186db26a7651c9b58de0a69507f0 Mon Sep 17 00:00:00 2001 From: Jorge Aparicio Date: Wed, 15 Jul 2020 18:06:21 +0200 Subject: [PATCH] correct the expansion of the RTIC acronym --- embedded-workshop-book/src/rtic-hello.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/embedded-workshop-book/src/rtic-hello.md b/embedded-workshop-book/src/rtic-hello.md index 7913da2..ec14358 100644 --- a/embedded-workshop-book/src/rtic-hello.md +++ b/embedded-workshop-book/src/rtic-hello.md @@ -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(/* .. */)) } -``` \ No newline at end of file +```