Skip to content
Snippets Groups Projects
Commit b1880e13 authored by August Svensson's avatar August Svensson
Browse files

bare10_2

parent 4a1f1a26
No related branches found
No related tags found
No related merge requests found
...@@ -79,7 +79,7 @@ const APP: () = { ...@@ -79,7 +79,7 @@ const APP: () = {
} }
} }
#[task(priority = 1, resources = [ITM])] #[task(priority = 1, capacity = 4, resources = [ITM])]
fn trace_data(byte: u8) { fn trace_data(byte: u8) {
let stim = &mut resources.ITM.stim[0]; let stim = &mut resources.ITM.stim[0];
iprintln!(stim, "data {}", byte); iprintln!(stim, "data {}", byte);
...@@ -169,7 +169,9 @@ const APP: () = { ...@@ -169,7 +169,9 @@ const APP: () = {
// //
// What information would you need? // 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) // Commit your answers (bare10_2)
// //
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment