Skip to content
Snippets Groups Projects
Commit df36fa34 authored by Stephen D's avatar Stephen D
Browse files

reset on panic

parent c059d917
No related branches found
No related tags found
No related merge requests found
Pipeline #2078 failed
...@@ -120,15 +120,6 @@ dependencies = [ ...@@ -120,15 +120,6 @@ dependencies = [
"syn", "syn",
] ]
[[package]]
name = "cortex-m-semihosting"
version = "0.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c23234600452033cc77e4b761e740e02d2c4168e11dbf36ab14a0f58973592b0"
dependencies = [
"cortex-m",
]
[[package]] [[package]]
name = "critical-section" name = "critical-section"
version = "1.1.1" version = "1.1.1"
...@@ -264,13 +255,12 @@ source = "registry+https://github.com/rust-lang/crates.io-index" ...@@ -264,13 +255,12 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8d5439c4ad607c3c23abf66de8c8bf57ba8adcd1f129e699851a6e43935d339d" checksum = "8d5439c4ad607c3c23abf66de8c8bf57ba8adcd1f129e699851a6e43935d339d"
[[package]] [[package]]
name = "panic-semihosting" name = "panic-reset"
version = "0.6.0" version = "0.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ee8a3e1233d9073d76a870223512ce4eeea43c067a94a445c13bd6d792d7b1ab" checksum = "6cf1ff2a5b1a478dd94572aa43476b6630e72071cbd016985003ad3903a3a4f5"
dependencies = [ dependencies = [
"cortex-m", "cortex-m",
"cortex-m-semihosting",
] ]
[[package]] [[package]]
...@@ -281,8 +271,7 @@ dependencies = [ ...@@ -281,8 +271,7 @@ dependencies = [
"cortex-m", "cortex-m",
"cortex-m-rt", "cortex-m-rt",
"cortex-m-rtic", "cortex-m-rtic",
"cortex-m-semihosting", "panic-reset",
"panic-semihosting",
"rf4463", "rf4463",
"ringbuffer", "ringbuffer",
"stm32f4xx-hal", "stm32f4xx-hal",
......
...@@ -17,9 +17,10 @@ opt-level = "z" ...@@ -17,9 +17,10 @@ opt-level = "z"
stm32f4xx-hal = { version = "0.16", features = ["stm32f411", "rtic"]} stm32f4xx-hal = { version = "0.16", features = ["stm32f411", "rtic"]}
cortex-m = "0.7" cortex-m = "0.7"
cortex-m-rt = "0.7" cortex-m-rt = "0.7"
cortex-m-semihosting = "0.5" #cortex-m-semihosting = "0.5"
panic-semihosting = "0.6" #panic-semihosting = "0.6"
core2 = { version = "0.3", default_features = false } core2 = { version = "0.3", default_features = false }
rf4463 = { path = "../rf4463" } rf4463 = { path = "../rf4463" }
cortex-m-rtic = { version = "1.1.4" } cortex-m-rtic = { version = "1.1.4" }
ringbuffer = { version = "0.13.0", default_features = false } ringbuffer = { version = "0.13.0", default_features = false }
panic-reset = "0.1.1"
...@@ -3,8 +3,7 @@ ...@@ -3,8 +3,7 @@
extern crate cortex_m; extern crate cortex_m;
extern crate cortex_m_rt as rt; extern crate cortex_m_rt as rt;
extern crate panic_semihosting; extern crate panic_reset;
extern crate stm32f4xx_hal as hal; extern crate stm32f4xx_hal as hal;
mod packet; mod packet;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment