From 9fe310d579153ff67a09decf19571354fc66c82c Mon Sep 17 00:00:00 2001 From: anttib-5 <anttib-5@student.ltu.se> Date: Wed, 13 Mar 2019 13:37:49 +0100 Subject: [PATCH] bare9_2 --- TestITM | 11 +++++++++++ examples/bare9.rs | 10 +++++++--- 2 files changed, 18 insertions(+), 3 deletions(-) diff --git a/TestITM b/TestITM index c4a6a2c..943735b 100644 --- a/TestITM +++ b/TestITM @@ -4,3 +4,14 @@ Error Overrun Ok 471 Error 84 +bare9 +goto sleep +woken.. +data 97 +goto sleep +woken.. +data 13 +goto sleep +woken.. +data 97 +goto sleep diff --git a/examples/bare9.rs b/examples/bare9.rs index 7d48bd0..b28431c 100644 --- a/examples/bare9.rs +++ b/examples/bare9.rs @@ -168,16 +168,20 @@ const APP: () = { // // What did you receive, and what was the output of the ITM trace. // -// ** your answer here ** +// bare9 +// goto sleep +// woken.. +// data 97 +// goto sleep // // Did you experience any over-run errors? // -// ** your answer here ** +// Yes // // Why does it behave differently than in release mode? // Recall how the execution overhead changed with optimization level. // -// ** your answer here ** +// The overhead gets too large because of the enqueue function and the USART will get more chars before the function terminates. // // Commit your answers (bare9_2) // -- GitLab