diff --git a/blinky-itm/Cargo.lock b/blinky-itm/Cargo.lock index b388ab1a55d8ceb4c5697aeb35f36c33d80a55a1..739e63f95d0c558c2bfac0ec6c4ee5d205c41261 100644 --- a/blinky-itm/Cargo.lock +++ b/blinky-itm/Cargo.lock @@ -16,7 +16,7 @@ dependencies = [ "cortex-m 0.5.7 (registry+https://github.com/rust-lang/crates.io-index)", "cortex-m-rt 0.6.4 (registry+https://github.com/rust-lang/crates.io-index)", "embedded-hal 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", - "panic-abort 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", + "panic-itm 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", "stm32f407g-disc 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", ] @@ -70,9 +70,12 @@ version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] -name = "panic-abort" -version = "0.3.1" +name = "panic-itm" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" +dependencies = [ + "cortex-m 0.5.7 (registry+https://github.com/rust-lang/crates.io-index)", +] [[package]] name = "proc-macro2" @@ -186,7 +189,7 @@ dependencies = [ "checksum cortex-m-rt-macros 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)" = "3139fdadccaa0db6fa96637678ced9b0b97e4f10047c9ab603d125048e107d1a" "checksum embedded-hal 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "26944677e4934eb5fb4025501dc0d6cdbcf6bfabd6200fcfee2e7e8eef8c0362" "checksum nb 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "69f380b5fe9fab8c0d7a6a99cda23e2cc0463bedb2cbc3aada0813b98496ecdc" -"checksum panic-abort 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)" = "2c14a66511ed17b6a8b4256b868d7fd207836d891db15eea5195dbcaf87e630f" +"checksum panic-itm 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "d2f8558d6f59b9d74b4c34588604b7d9382060218abd5ec3fc01157c97838666" "checksum proc-macro2 0.4.19 (registry+https://github.com/rust-lang/crates.io-index)" = "ffe022fb8c8bd254524b0b3305906c1921fa37a84a644e29079a9e62200c3901" "checksum quote 0.6.8 (registry+https://github.com/rust-lang/crates.io-index)" = "dd636425967c33af890042c483632d33fa7a18f19ad1d7ea72e8998c6ef8dea5" "checksum r0 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)" = "e2a38df5b15c8d5c7e8654189744d8e396bddc18ad48041a500ce52d6948941f" diff --git a/blinky-itm/Cargo.toml b/blinky-itm/Cargo.toml index 7fe4e68e2d9a7112e42cb0b270519024d06abd63..ecf5348e0210a84442a263627c71ac9292542cea 100644 --- a/blinky-itm/Cargo.toml +++ b/blinky-itm/Cargo.toml @@ -36,5 +36,5 @@ version = "0.5.7" [dependencies.cortex-m-rt] version = "0.6.4" -[dependencies.panic-abort] -version = "0.3.1" +[dependencies.panic-itm] +version = "0.4.0" diff --git a/blinky-itm/src/main.rs b/blinky-itm/src/main.rs index b58e8c24d2c746857d404611b1b6394261b60acd..2f86fd55de55614c84dd1f346a5c7df7f77562a0 100644 --- a/blinky-itm/src/main.rs +++ b/blinky-itm/src/main.rs @@ -3,7 +3,7 @@ extern crate cortex_m; extern crate cortex_m_rt; -extern crate panic_abort; +extern crate panic_itm; extern crate stm32f407g_disc as board; extern crate embedded_hal as hal;