diff --git a/examples/bare7.rs b/examples/bare7.rs index 51227de4ee0b721547305cfd7beee7a2fc6b74c8..b3d14096dfc2849579e88e983c29a6207c876db5 100644 --- a/examples/bare7.rs +++ b/examples/bare7.rs @@ -50,7 +50,7 @@ fn main() -> ! { .unwrap(); let gpioc = p.GPIOC.split(); - gpioc.pc9.into_alternate_af0().set_speed(hal::gpio::Speed::Low); + gpioc.pc9.into_alternate_af0().set_speed(hal::gpio::Speed::VeryHigh); // MCO_2 alternate function AF0, STM32F401xD STM32F401xE data sheet // table 9 // AF0, gpioc reset value = AF0 @@ -203,11 +203,16 @@ fn main() -> ! { // // What did you receive, and what was the output of the ITM trace. // -// ** your answer here ** +// ** Received abcd, seding a longer string caused overflow +// ITM trace +// [2019-03-06T09:27:25.066Z] Ok 97 +// [2019-03-06T09:27:25.066Z] Ok 98 +// [2019-03-06T09:27:25.067Z] Ok 99 +// [2019-03-06T09:27:25.067Z] Ok 100 ** // // Explain why the buffer overflows. // -// ** your answer here ** +// ** We are reading a byte, printing and then writing. This will take some time and we will receive new bytes before the serial is flushed. ** // // commit your answers (bare7_4) //