diff options
author | Bob McWhirter <bmcwhirt@redhat.com> | 2021-11-15 11:19:19 -0500 |
---|---|---|
committer | Bob McWhirter <bmcwhirt@redhat.com> | 2021-11-15 11:19:19 -0500 |
commit | a770fc77c907c50fd2c4a7f6ce934eb45974ae55 (patch) | |
tree | 1ffee8ef80106cd53a14a01a8f90c4ff5ef4dd4f /examples/stm32g0 | |
parent | c2da49826345e82e7539fce3e96cce203253dc56 (diff) | |
download | embassy-a770fc77c907c50fd2c4a7f6ce934eb45974ae55.zip |
Adjust all examples to defmt 0.3.
Diffstat (limited to 'examples/stm32g0')
-rw-r--r-- | examples/stm32g0/Cargo.toml | 21 |
1 files changed, 5 insertions, 16 deletions
diff --git a/examples/stm32g0/Cargo.toml b/examples/stm32g0/Cargo.toml index 58a62f7b..c7f5d41b 100644 --- a/examples/stm32g0/Cargo.toml +++ b/examples/stm32g0/Cargo.toml @@ -5,30 +5,19 @@ name = "embassy-stm32g0-examples" version = "0.1.0" resolver = "2" -[features] -default = [ - "defmt-default", -] -defmt-default = [] -defmt-trace = [] -defmt-debug = [] -defmt-info = [] -defmt-warn = [] -defmt-error = [] - [dependencies] -embassy = { version = "0.1.0", path = "../../embassy", features = ["defmt", "defmt-trace"] } +embassy = { version = "0.1.0", path = "../../embassy", features = ["defmt"] } embassy-traits = { version = "0.1.0", path = "../../embassy-traits", features = ["defmt"] } -embassy-stm32 = { version = "0.1.0", path = "../../embassy-stm32", features = ["defmt", "defmt-trace", "time-driver-tim2", "stm32g071rb", "unstable-pac"] } +embassy-stm32 = { version = "0.1.0", path = "../../embassy-stm32", features = ["defmt", "time-driver-tim2", "stm32g071rb", "unstable-pac"] } embassy-hal-common = {version = "0.1.0", path = "../../embassy-hal-common" } -defmt = "0.2.3" -defmt-rtt = "0.2.0" +defmt = "0.3" +defmt-rtt = "0.3" cortex-m = "0.7.3" cortex-m-rt = "0.7.0" embedded-hal = "0.2.6" -panic-probe = { version = "0.2.0", features = ["print-defmt"] } +panic-probe = { version = "0.3", features = ["print-defmt"] } futures = { version = "0.3.17", default-features = false, features = ["async-await"] } rtt-target = { version = "0.3.1", features = ["cortex-m"] } heapless = { version = "0.7.5", default-features = false } |