From 9e53f779aedb1152491711569deac83188ec609e Mon Sep 17 00:00:00 2001 From: Matej Almasi Date: Tue, 17 Jun 2025 21:33:53 +0200 Subject: [PATCH] replace HStdout with HostStream in start/exceptions ##A complete example --- src/start/exceptions.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/start/exceptions.md b/src/start/exceptions.md index e7056be7..2634cf58 100644 --- a/src/start/exceptions.md +++ b/src/start/exceptions.md @@ -81,7 +81,7 @@ use cortex_m::peripheral::syst::SystClkSource; use cortex_m_rt::{entry, exception}; use cortex_m_semihosting::{ debug, - hio::{self, HStdout}, + hio::{self, HostStream}, }; #[entry] @@ -103,7 +103,7 @@ fn main() -> ! { #[exception] fn SysTick() { static mut COUNT: u32 = 0; - static mut STDOUT: Option = None; + static mut STDOUT: Option = None; *COUNT += 1;