diff --git a/Cargo.lock b/Cargo.lock index d5083b0923d58665cee8484e98f85daa73000a0a..ce8558539bfe8b4e6c1346399472552c04562a03 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -76,14 +76,13 @@ dependencies = [ "cortex-m", "cortex-m-rt", "cortex-m-rtic", - "cortex-m-semihosting", "crc", "embedded-storage", "half", "ham-cats", "nmea", "num-traits", - "panic-semihosting", + "panic-reset", "rand", "rf4463", "stm32f4xx-hal", @@ -169,15 +168,6 @@ dependencies = [ "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]] name = "crc" version = "3.0.1" @@ -447,13 +437,12 @@ dependencies = [ ] [[package]] -name = "panic-semihosting" -version = "0.6.0" +name = "panic-reset" +version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ee8a3e1233d9073d76a870223512ce4eeea43c067a94a445c13bd6d792d7b1ab" +checksum = "6cf1ff2a5b1a478dd94572aa43476b6630e72071cbd016985003ad3903a3a4f5" dependencies = [ "cortex-m", - "cortex-m-semihosting", ] [[package]] diff --git a/Cargo.toml b/Cargo.toml index fd23dba67a2b36bac291b7d387c8d4481b7230e6..2fb5ad4e41fa7881828fb33951835f39289eaab3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -16,8 +16,9 @@ stm32f4xx-hal = { version = "0.16", features = ["stm32f411", "rtic", "otg-fs", " cortex-m = "0.7" cortex-m-rt = "0.7" cortex-m-rtic = { version = "1.1.4" } -cortex-m-semihosting = "0.5" -panic-semihosting = "0.6" +#cortex-m-semihosting = "0.5" +#panic-semihosting = "0.6" +panic-reset = "0.1.1" rf4463 = { git = "https://gitlab.scd31.com/stephen/rf4463-lib" } #rf4463 = { path = "../../rf4463" } systick-monotonic = "1.0.1" diff --git a/src/main.rs b/src/main.rs index 661aa2f4a4d11ff1c494587a33100c11e0dd6052..b5253a39764edbed9394f6d68b54212b2269c289 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,8 +1,8 @@ #![no_main] #![no_std] -// use panic_halt as _; -use panic_semihosting as _; +use panic_reset as _; +//use panic_semihosting as _; mod config; mod geo;