//! Prints "Hello, world" on the OpenOCD console #![deny(unsafe_code)] #![deny(warnings)] #![no_std] extern crate cortex_m_semihosting as semihosting; extern crate stm32f4xx_hal; use core::fmt::Write; use semihosting::hio; fn main() { writeln!(hio::hstdout().unwrap(), "Hello, world!").unwrap(); }