diff --git a/Cargo.toml b/Cargo.toml index b9c854e4..56d19f3b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -9,7 +9,7 @@ license = "MIT/Apache-2.0" name = "stm32g4xx-hal" readme = "README.md" repository = "https://github.com/stm32-rs/stm32g4xx-hal" -version = "0.0.1" +version = "0.0.2" [dependencies] nb = "0.1.1" diff --git a/README.md b/README.md index 1fbc9678..e40b6aba 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,7 @@ Examples can be built and run using `cargo run`. It is necessary to provide any required features followed by the name of the chip. ``` -cargo run --example usb_serial --features stm32g473 --features usb_fs --release -- --chip STM32G473RETx +cargo run --example blinky_delay --features stm32g474,log-rtt,defmt --release -- --chip STM32G474RBTx ``` A list of chips supported by probe-rs can be found by running diff --git a/examples/blinky_delay.rs b/examples/blinky_delay.rs index cac9a15f..620c96b0 100644 --- a/examples/blinky_delay.rs +++ b/examples/blinky_delay.rs @@ -12,7 +12,7 @@ use hal::timer::Timer; use stm32g4xx_hal as hal; use cortex_m_rt::entry; -use log::info; +use utils::logger::info; #[macro_use] mod utils;