Skip to content
Snippets Groups Projects
Commit 50e1d3bc authored by Per Lindgren's avatar Per Lindgren
Browse files

timing_resources Readme

parent 764a05f7
No related branches found
No related tags found
No related merge requests found
...@@ -5,6 +5,7 @@ ...@@ -5,6 +5,7 @@
We assume Rust to be installed using [rustup](https://www.rust-lang.org/tools/install). 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. Additionally you need to install the `thumbv7em-none-eabi` target.
```shell ```shell
> rustup target add thumbv7em-none-eabi > rustup target add thumbv7em-none-eabi
``` ```
...@@ -55,7 +56,7 @@ You may use any editor of choice. `vscode` supports Rust using the `rust-analyz ...@@ -55,7 +56,7 @@ You may use any editor of choice. `vscode` supports Rust using the `rust-analyz
- `examples/timing_task.rs` - `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. - Tasks are bound to interrupt vectors.
...@@ -65,5 +66,12 @@ You may use any editor of choice. `vscode` supports Rust using the `rust-analyz ...@@ -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). - 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.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment