diff --git a/examples/bare10.rs b/examples/bare10.rs index dc09fde937e86969488bcdeada387f371b6eac96..3d90134fecc8dacc6cb8dd5c9b7a9a015961daed 100644 --- a/examples/bare10.rs +++ b/examples/bare10.rs @@ -79,7 +79,7 @@ const APP: () = { } } - #[task(priority = 1, resources = [ITM])] + #[task(priority = 1, capacity = 4, resources = [ITM])] fn trace_data(byte: u8) { let stim = &mut resources.ITM.stim[0]; iprintln!(stim, "data {}", byte); @@ -169,7 +169,9 @@ const APP: () = { // // What information would you need? // -// ** your answer here ** +// ** The time each byte needs to be processed (call it A) and the time it takes for +// a byte to arrive after the previous arrived (call it B). We need space for approximately +// A/B tasks to run simultaneously. ** // // Commit your answers (bare10_2) //