diff --git a/examples/hello.rs b/examples/hello.rs index 9c8b5ac15d7f74e3de77d811fa372edc612752a1..8155f7dceee85353a5e599e487c56711ea7955b1 100644 --- a/examples/hello.rs +++ b/examples/hello.rs @@ -4,7 +4,7 @@ #![no_std] extern crate cortex_m_semihosting as semihosting; -extern crate stm32f4xx_hal; +extern crate stm32f4x_hal; use core::fmt::Write; diff --git a/examples/hello_itm.rs b/examples/hello_itm.rs deleted file mode 100644 index d141c9364036dfbd8da59bded630b9ee358713c4..0000000000000000000000000000000000000000 --- a/examples/hello_itm.rs +++ /dev/null @@ -1,21 +0,0 @@ -//! Prints "Hello, world" on the ITM console -//! and Semihosting in the openocd console -//! -//! Using cortex-m-debug, for simple tracing -#![deny(unsafe_code)] -#![deny(warnings)] -#![no_std] - -extern crate stm32f4xx_hal; - -// Convenient tracing over semihosting and ITM -#[macro_use] -extern crate cortex_m_debug; - -fn main() { - ip!("ITM: Hello "); - ipln!("World! for the {} time", 50); - - sp!("Semihosting: Hello "); - spln!("World! for the {} time", 50); -}