use crates.io versions

also enable panic-probe's 'print-defmt' so panic messages are printed
This commit is contained in:
Jorge Aparicio
2020-11-11 14:20:46 +01:00
parent 703c7b4bb6
commit da11b67bbb
3 changed files with 8 additions and 32 deletions
+3 -14
View File
@@ -10,24 +10,13 @@ version = "0.1.0"
name = "test"
harness = false
[dependencies.defmt]
git = "https://github.com/knurling-rs/defmt"
branch = "main"
[dependencies.defmt-rtt]
git = "https://github.com/knurling-rs/defmt"
branch = "main"
[dependencies.panic-probe]
git = "https://github.com/knurling-rs/probe-run"
branch = "main"
# enable the `print-defmt` feature for more complete test output
features = ["print-defmt"]
[dependencies]
{{project-name}} = { path = ".." }
cortex-m = "0.6.3"
cortex-m-rt = "0.6.12"
defmt = "0.1.0"
defmt-rtt = "0.1.0"
panic-probe = { version = "0.1.0", features = ["print-defmt" ] }
[features]
# set logging levels here