From 50e1d3bc7841edcc3eb2279f2b56d9066b7801e9 Mon Sep 17 00:00:00 2001 From: Per Lindgren <per.lindgren@ltu.se> Date: Tue, 1 Dec 2020 23:38:40 +0100 Subject: [PATCH] timing_resources Readme --- README.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index bff0371..c423363 100644 --- a/README.md +++ b/README.md @@ -5,6 +5,7 @@ We assume Rust to be installed using [rustup](https://www.rust-lang.org/tools/install). Additionally you need to install the `thumbv7em-none-eabi` target. + ```shell > rustup target add thumbv7em-none-eabi ``` @@ -55,7 +56,7 @@ You may use any editor of choice. `vscode` supports Rust using the `rust-analyz - `examples/timing_task.rs` - Here you learn about the Nested Vector Interrupt Controller: + Here you learn about the Nested Vector Interrupt Controller (NVIC): - Tasks are bound to interrupt vectors. @@ -65,5 +66,12 @@ You may use any editor of choice. `vscode` supports Rust using the `rust-analyz - RTIC has zero-cost task dispatch overhead (well 2-clock cycles but will be fixed to zero). +- `examples/timing_resource.rs` + + Here you will learn about resource handling in RTIC: + - Implementation of critical sections through priority masking (NVIC-BASEPRI). + + - Direct access to non-preemptable resources. + - Comparison to threaded counterpart. -- GitLab