mirror of
https://github.com/rtic-rs/rtic.git
synced 2024-12-25 19:39:32 +01:00
60 lines
2 KiB
Text
60 lines
2 KiB
Text
error: task local resource "l2" is used by multiple tasks
|
|
--> $DIR/local-err.rs:34:9
|
|
|
|
|
34 | l2: u32,
|
|
| ^^
|
|
|
|
error: task local resource "l2" is used by task "idle" with priority 0
|
|
--> $DIR/local-err.rs:52:28
|
|
|
|
|
52 | #[idle(resources =[l1, l2, e2])]
|
|
| ^^
|
|
|
|
error: task local resource "l2" is used by task "uart0" with priority 1
|
|
--> $DIR/local-err.rs:63:62
|
|
|
|
|
63 | #[task(priority = 1, binds = UART0, resources = [shared, l2, e1])]
|
|
| ^^
|
|
|
|
error: task local resource "l2" is used by task "uart1" with priority 2
|
|
--> $DIR/local-err.rs:74:62
|
|
|
|
|
74 | #[task(priority = 2, binds = UART1, resources = [shared, l2, e1])]
|
|
| ^^
|
|
|
|
error: Lock free resource "e1" is used by tasks at different priorities
|
|
--> $DIR/local-err.rs:30:9
|
|
|
|
|
30 | e1: u32,
|
|
| ^^
|
|
|
|
error: Resource "e1" is declared lock free but used by tasks at different priorities
|
|
--> $DIR/local-err.rs:63:66
|
|
|
|
|
63 | #[task(priority = 1, binds = UART0, resources = [shared, l2, e1])]
|
|
| ^^
|
|
|
|
error: Resource "e1" is declared lock free but used by tasks at different priorities
|
|
--> $DIR/local-err.rs:74:66
|
|
|
|
|
74 | #[task(priority = 2, binds = UART1, resources = [shared, l2, e1])]
|
|
| ^^
|
|
|
|
error: unused imports: `debug`, `hprintln`
|
|
--> $DIR/local-err.rs:10:28
|
|
|
|
|
10 | use cortex_m_semihosting::{debug, hprintln};
|
|
| ^^^^^ ^^^^^^^^
|
|
|
|
|
note: the lint level is defined here
|
|
--> $DIR/local-err.rs:4:9
|
|
|
|
|
4 | #![deny(warnings)]
|
|
| ^^^^^^^^
|
|
= note: `#[deny(unused_imports)]` implied by `#[deny(warnings)]`
|
|
|
|
error: unused import: `lm3s6965::Interrupt`
|
|
--> $DIR/local-err.rs:11:5
|
|
|
|
|
11 | use lm3s6965::Interrupt;
|
|
| ^^^^^^^^^^^^^^^^^^^
|