Merge pull request #22 from knurling-rs/crates-io

use crates.io versions
This commit is contained in:
Jorge Aparicio
2020-11-12 11:10:06 +01:00
committed by GitHub
3 changed files with 8 additions and 32 deletions
+3 -12
View File
@@ -8,21 +8,12 @@ version = "0.1.0"
[workspace] [workspace]
members = ["testsuite"] members = ["testsuite"]
[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"
[dependencies] [dependencies]
cortex-m = "0.6.4" cortex-m = "0.6.4"
cortex-m-rt = "0.6.13" cortex-m-rt = "0.6.13"
defmt = "0.1.0"
defmt-rtt = "0.1.0"
panic-probe = { version = "0.1.0", features = ["print-defmt"] }
# TODO(4) enter your HAL here # TODO(4) enter your HAL here
# some-hal = "1.2.3" # some-hal = "1.2.3"
+2 -6
View File
@@ -14,14 +14,10 @@
$ cargo install flip-link $ cargo install flip-link
``` ```
#### 2. The **git** version of `probe-run`: #### 2. `probe-run`:
<!-- TODO: update this once defmt is on crates.io? -->
``` console ``` console
$ cargo install \ $ cargo install probe-run
--git https://github.com/knurling-rs/probe-run \
--branch main \
--features defmt
``` ```
#### 3. [`cargo-generate`]: #### 3. [`cargo-generate`]:
+3 -14
View File
@@ -10,24 +10,13 @@ version = "0.1.0"
name = "test" name = "test"
harness = false 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] [dependencies]
{{project-name}} = { path = ".." } {{project-name}} = { path = ".." }
cortex-m = "0.6.3" cortex-m = "0.6.3"
cortex-m-rt = "0.6.12" 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] [features]
# set logging levels here # set logging levels here