diff options
| author | Bob McWhirter <[email protected]> | 2021-11-15 11:08:51 -0500 |
|---|---|---|
| committer | Bob McWhirter <[email protected]> | 2021-11-15 11:09:08 -0500 |
| commit | c2da49826345e82e7539fce3e96cce203253dc56 (patch) | |
| tree | 952c7117c7d103c0247a85c2776556c378eeefd8 | |
| parent | 4e0a0f27febfb00c9b4ec42275ac6b83c98436ea (diff) | |
Update to defmt 3.0ish.
Lots of gitrevs deps.
| -rw-r--r-- | embassy-hal-common/Cargo.toml | 7 | ||||
| -rw-r--r-- | embassy-lora/Cargo.toml | 8 | ||||
| -rw-r--r-- | embassy-net/Cargo.toml | 11 | ||||
| -rw-r--r-- | embassy-nrf/Cargo.toml | 8 | ||||
| -rw-r--r-- | embassy-rp/Cargo.toml | 8 | ||||
| -rw-r--r-- | embassy-stm32/Cargo.toml | 10 | ||||
| -rw-r--r-- | embassy-stm32/src/can/bxcan.rs | 2 | ||||
| -rw-r--r-- | embassy-traits/Cargo.toml | 2 | ||||
| -rw-r--r-- | embassy/Cargo.toml | 8 | ||||
| -rw-r--r-- | examples/stm32h7/Cargo.toml | 25 | ||||
| -rw-r--r-- | examples/stm32l4/Cargo.toml | 19 | ||||
| -rw-r--r-- | examples/stm32u5/.cargo/config.toml | 4 | ||||
| -rw-r--r-- | examples/stm32u5/Cargo.toml | 19 | ||||
| -rw-r--r-- | examples/stm32u5/src/bin/boot.rs | 4 |
14 files changed, 37 insertions, 98 deletions
diff --git a/embassy-hal-common/Cargo.toml b/embassy-hal-common/Cargo.toml index 575007070..2028b0e0c 100644 --- a/embassy-hal-common/Cargo.toml +++ b/embassy-hal-common/Cargo.toml | |||
| @@ -5,16 +5,11 @@ authors = ["Dario Nieuwenhuis <[email protected]>"] | |||
| 5 | edition = "2018" | 5 | edition = "2018" |
| 6 | 6 | ||
| 7 | [features] | 7 | [features] |
| 8 | defmt-trace = [ ] | ||
| 9 | defmt-debug = [ ] | ||
| 10 | defmt-info = [ ] | ||
| 11 | defmt-warn = [ ] | ||
| 12 | defmt-error = [ ] | ||
| 13 | 8 | ||
| 14 | [dependencies] | 9 | [dependencies] |
| 15 | embassy = { version = "0.1.0", path = "../embassy" } | 10 | embassy = { version = "0.1.0", path = "../embassy" } |
| 16 | 11 | ||
| 17 | defmt = { version = "0.2.3", optional = true } | 12 | defmt = { version = "0.3", optional = true } |
| 18 | log = { version = "0.4.14", optional = true } | 13 | log = { version = "0.4.14", optional = true } |
| 19 | cortex-m = "0.7.3" | 14 | cortex-m = "0.7.3" |
| 20 | usb-device = "0.2.8" | 15 | usb-device = "0.2.8" |
diff --git a/embassy-lora/Cargo.toml b/embassy-lora/Cargo.toml index 00bd3b847..fa46d43f5 100644 --- a/embassy-lora/Cargo.toml +++ b/embassy-lora/Cargo.toml | |||
| @@ -11,15 +11,9 @@ sx127x = [] | |||
| 11 | stm32wl = ["embassy-stm32", "embassy-stm32/subghz"] | 11 | stm32wl = ["embassy-stm32", "embassy-stm32/subghz"] |
| 12 | time = [] | 12 | time = [] |
| 13 | 13 | ||
| 14 | defmt-trace = [] | ||
| 15 | defmt-debug = [] | ||
| 16 | defmt-info = [] | ||
| 17 | defmt-warn = [] | ||
| 18 | defmt-error = [] | ||
| 19 | |||
| 20 | [dependencies] | 14 | [dependencies] |
| 21 | 15 | ||
| 22 | defmt = { version = "0.2.3", optional = true } | 16 | defmt = { version = "0.3", optional = true } |
| 23 | log = { version = "0.4.14", optional = true } | 17 | log = { version = "0.4.14", optional = true } |
| 24 | 18 | ||
| 25 | embassy = { version = "0.1.0", path = "../embassy", default-features = false } | 19 | embassy = { version = "0.1.0", path = "../embassy", default-features = false } |
diff --git a/embassy-net/Cargo.toml b/embassy-net/Cargo.toml index 161a3946e..4b932ceb3 100644 --- a/embassy-net/Cargo.toml +++ b/embassy-net/Cargo.toml | |||
| @@ -7,11 +7,6 @@ edition = "2018" | |||
| 7 | [features] | 7 | [features] |
| 8 | default = ["pool-4"] | 8 | default = ["pool-4"] |
| 9 | std = [] | 9 | std = [] |
| 10 | defmt-trace = [] | ||
| 11 | defmt-debug = [] | ||
| 12 | defmt-info = [] | ||
| 13 | defmt-warn = [] | ||
| 14 | defmt-error = [] | ||
| 15 | 10 | ||
| 16 | tcp = ["smoltcp/socket-tcp"] | 11 | tcp = ["smoltcp/socket-tcp"] |
| 17 | dhcpv4 = ["medium-ethernet", "smoltcp/socket-dhcpv4"] | 12 | dhcpv4 = ["medium-ethernet", "smoltcp/socket-dhcpv4"] |
| @@ -25,7 +20,7 @@ pool-32 = [] | |||
| 25 | 20 | ||
| 26 | [dependencies] | 21 | [dependencies] |
| 27 | 22 | ||
| 28 | defmt = { version = "0.2.3", optional = true } | 23 | defmt = { version = "0.3", optional = true } |
| 29 | log = { version = "0.4.14", optional = true } | 24 | log = { version = "0.4.14", optional = true } |
| 30 | 25 | ||
| 31 | embassy = { version = "0.1.0", path = "../embassy" } | 26 | embassy = { version = "0.1.0", path = "../embassy" } |
| @@ -39,8 +34,8 @@ futures = { version = "0.3.17", default-features = false, features = | |||
| 39 | atomic-pool = "0.2.1" | 34 | atomic-pool = "0.2.1" |
| 40 | 35 | ||
| 41 | [dependencies.smoltcp] | 36 | [dependencies.smoltcp] |
| 42 | git = "https://github.com/smoltcp-rs/smoltcp" | 37 | git = "https://github.com/bobmcwhirter/smoltcp" |
| 43 | rev = "e4241510337e095b9d21136c5f58b2eaa1b78479" | 38 | rev = "faf81d21daae16b650b16e59a8422a8283e8a302" |
| 44 | default-features = false | 39 | default-features = false |
| 45 | features = [ | 40 | features = [ |
| 46 | "proto-ipv4", | 41 | "proto-ipv4", |
diff --git a/embassy-nrf/Cargo.toml b/embassy-nrf/Cargo.toml index 3ce174372..dae9f26ae 100644 --- a/embassy-nrf/Cargo.toml +++ b/embassy-nrf/Cargo.toml | |||
| @@ -12,12 +12,6 @@ edition = "2018" | |||
| 12 | # There are no plans to make this stable. | 12 | # There are no plans to make this stable. |
| 13 | unstable-pac = [] | 13 | unstable-pac = [] |
| 14 | 14 | ||
| 15 | defmt-trace = [ ] | ||
| 16 | defmt-debug = [ ] | ||
| 17 | defmt-info = [ ] | ||
| 18 | defmt-warn = [ ] | ||
| 19 | defmt-error = [ ] | ||
| 20 | |||
| 21 | nrf52805 = ["nrf52805-pac", "_ppi"] | 15 | nrf52805 = ["nrf52805-pac", "_ppi"] |
| 22 | nrf52810 = ["nrf52810-pac", "_ppi"] | 16 | nrf52810 = ["nrf52810-pac", "_ppi"] |
| 23 | nrf52811 = ["nrf52811-pac", "_ppi"] | 17 | nrf52811 = ["nrf52811-pac", "_ppi"] |
| @@ -53,7 +47,7 @@ embassy = { version = "0.1.0", path = "../embassy" } | |||
| 53 | embassy-macros = { version = "0.1.0", path = "../embassy-macros", features = ["nrf"]} | 47 | embassy-macros = { version = "0.1.0", path = "../embassy-macros", features = ["nrf"]} |
| 54 | embassy-hal-common = {version = "0.1.0", path = "../embassy-hal-common" } | 48 | embassy-hal-common = {version = "0.1.0", path = "../embassy-hal-common" } |
| 55 | 49 | ||
| 56 | defmt = { version = "0.2.3", optional = true } | 50 | defmt = { version = "0.3", optional = true } |
| 57 | log = { version = "0.4.14", optional = true } | 51 | log = { version = "0.4.14", optional = true } |
| 58 | cortex-m-rt = ">=0.6.15,<0.8" | 52 | cortex-m-rt = ">=0.6.15,<0.8" |
| 59 | cortex-m = "0.7.3" | 53 | cortex-m = "0.7.3" |
diff --git a/embassy-rp/Cargo.toml b/embassy-rp/Cargo.toml index 21a19a632..be41f95eb 100644 --- a/embassy-rp/Cargo.toml +++ b/embassy-rp/Cargo.toml | |||
| @@ -12,18 +12,12 @@ edition = "2018" | |||
| 12 | # There are no plans to make this stable. | 12 | # There are no plans to make this stable. |
| 13 | unstable-pac = [] | 13 | unstable-pac = [] |
| 14 | 14 | ||
| 15 | defmt-trace = [ ] | ||
| 16 | defmt-debug = [ ] | ||
| 17 | defmt-info = [ ] | ||
| 18 | defmt-warn = [ ] | ||
| 19 | defmt-error = [ ] | ||
| 20 | |||
| 21 | [dependencies] | 15 | [dependencies] |
| 22 | embassy = { version = "0.1.0", path = "../embassy", features = [ "time-tick-1mhz" ] } | 16 | embassy = { version = "0.1.0", path = "../embassy", features = [ "time-tick-1mhz" ] } |
| 23 | embassy-hal-common = {version = "0.1.0", path = "../embassy-hal-common" } | 17 | embassy-hal-common = {version = "0.1.0", path = "../embassy-hal-common" } |
| 24 | embassy-macros = { version = "0.1.0", path = "../embassy-macros", features = ["rp"]} | 18 | embassy-macros = { version = "0.1.0", path = "../embassy-macros", features = ["rp"]} |
| 25 | atomic-polyfill = "0.1.5" | 19 | atomic-polyfill = "0.1.5" |
| 26 | defmt = { version = "0.2.3", optional = true } | 20 | defmt = { version = "0.3", optional = true } |
| 27 | log = { version = "0.4.14", optional = true } | 21 | log = { version = "0.4.14", optional = true } |
| 28 | cortex-m-rt = ">=0.6.15,<0.8" | 22 | cortex-m-rt = ">=0.6.15,<0.8" |
| 29 | cortex-m = "0.7.3" | 23 | cortex-m = "0.7.3" |
diff --git a/embassy-stm32/Cargo.toml b/embassy-stm32/Cargo.toml index d6b0586c9..8ed25e110 100644 --- a/embassy-stm32/Cargo.toml +++ b/embassy-stm32/Cargo.toml | |||
| @@ -12,7 +12,7 @@ embassy-hal-common = {version = "0.1.0", path = "../embassy-hal-common" } | |||
| 12 | embassy-traits = {version = "0.1.0", path = "../embassy-traits" } | 12 | embassy-traits = {version = "0.1.0", path = "../embassy-traits" } |
| 13 | embassy-net = { version = "0.1.0", path = "../embassy-net", default-features = false, optional = true } | 13 | embassy-net = { version = "0.1.0", path = "../embassy-net", default-features = false, optional = true } |
| 14 | 14 | ||
| 15 | defmt = { version = "0.2.3", optional = true } | 15 | defmt = { version = "0.3", optional = true } |
| 16 | log = { version = "0.4.14", optional = true } | 16 | log = { version = "0.4.14", optional = true } |
| 17 | cortex-m-rt = ">=0.6.15,<0.8" | 17 | cortex-m-rt = ">=0.6.15,<0.8" |
| 18 | cortex-m = "0.7.3" | 18 | cortex-m = "0.7.3" |
| @@ -26,7 +26,8 @@ bare-metal = "1.0.0" | |||
| 26 | atomic-polyfill = "0.1.5" | 26 | atomic-polyfill = "0.1.5" |
| 27 | stm32-metapac = { version = "0.1.0", path = "../stm32-metapac", features = ["rt"] } | 27 | stm32-metapac = { version = "0.1.0", path = "../stm32-metapac", features = ["rt"] } |
| 28 | vcell = { version = "0.1.3", optional = true } | 28 | vcell = { version = "0.1.3", optional = true } |
| 29 | bxcan = "0.5.1" | 29 | bxcan = { git = "https://github.com/bobmcwhirter/bxcan.git", rev="8e011c6e1ecec318da5b8e13ac743ce34e969de9" } |
| 30 | |||
| 30 | seq-macro = "0.2.2" | 31 | seq-macro = "0.2.2" |
| 31 | 32 | ||
| 32 | cfg-if = "1.0.0" | 33 | cfg-if = "1.0.0" |
| @@ -37,11 +38,6 @@ serde = { version = "1.0.130", features = [ "derive" ] } | |||
| 37 | serde_yaml = "0.8.21" | 38 | serde_yaml = "0.8.21" |
| 38 | 39 | ||
| 39 | [features] | 40 | [features] |
| 40 | defmt-trace = [ ] | ||
| 41 | defmt-debug = [ ] | ||
| 42 | defmt-info = [ ] | ||
| 43 | defmt-warn = [ ] | ||
| 44 | defmt-error = [ ] | ||
| 45 | sdmmc-rs = ["embedded-sdmmc"] | 41 | sdmmc-rs = ["embedded-sdmmc"] |
| 46 | net = ["embassy-net", "vcell"] | 42 | net = ["embassy-net", "vcell"] |
| 47 | memory-x = ["stm32-metapac/memory-x"] | 43 | memory-x = ["stm32-metapac/memory-x"] |
diff --git a/embassy-stm32/src/can/bxcan.rs b/embassy-stm32/src/can/bxcan.rs index 191fc42a1..cc057b092 100644 --- a/embassy-stm32/src/can/bxcan.rs +++ b/embassy-stm32/src/can/bxcan.rs | |||
| @@ -35,7 +35,7 @@ impl<'d, T: Instance + bxcan::Instance> Can<'d, T> { | |||
| 35 | 35 | ||
| 36 | Self { | 36 | Self { |
| 37 | phantom: PhantomData, | 37 | phantom: PhantomData, |
| 38 | can: bxcan::Can::new(peri), | 38 | can: bxcan::Can::builder(peri).enable(), |
| 39 | } | 39 | } |
| 40 | } | 40 | } |
| 41 | } | 41 | } |
diff --git a/embassy-traits/Cargo.toml b/embassy-traits/Cargo.toml index 9e23453a8..c98b583e5 100644 --- a/embassy-traits/Cargo.toml +++ b/embassy-traits/Cargo.toml | |||
| @@ -8,5 +8,5 @@ edition = "2018" | |||
| 8 | std = [] | 8 | std = [] |
| 9 | 9 | ||
| 10 | [dependencies] | 10 | [dependencies] |
| 11 | defmt = { version = "0.2.3", optional = true } | 11 | defmt = { version = "0.3", optional = true } |
| 12 | embedded-hal = { version = "0.2.6", features = ["unproven"] } | 12 | embedded-hal = { version = "0.2.6", features = ["unproven"] } |
diff --git a/embassy/Cargo.toml b/embassy/Cargo.toml index d531ce3f9..bbe657f40 100644 --- a/embassy/Cargo.toml +++ b/embassy/Cargo.toml | |||
| @@ -23,16 +23,10 @@ time-tick-32768hz = ["time"] | |||
| 23 | time-tick-1000hz = ["time"] | 23 | time-tick-1000hz = ["time"] |
| 24 | time-tick-1mhz = ["time"] | 24 | time-tick-1mhz = ["time"] |
| 25 | 25 | ||
| 26 | defmt-trace = [] | ||
| 27 | defmt-debug = [] | ||
| 28 | defmt-info = [] | ||
| 29 | defmt-warn = [] | ||
| 30 | defmt-error = [] | ||
| 31 | |||
| 32 | executor-agnostic = [] | 26 | executor-agnostic = [] |
| 33 | 27 | ||
| 34 | [dependencies] | 28 | [dependencies] |
| 35 | defmt = { version = "0.2.3", optional = true } | 29 | defmt = { version = "0.3", optional = true } |
| 36 | log = { version = "0.4.14", optional = true } | 30 | log = { version = "0.4.14", optional = true } |
| 37 | 31 | ||
| 38 | cortex-m = "0.7.3" | 32 | cortex-m = "0.7.3" |
diff --git a/examples/stm32h7/Cargo.toml b/examples/stm32h7/Cargo.toml index e83ee3585..6b51f2ab8 100644 --- a/examples/stm32h7/Cargo.toml +++ b/examples/stm32h7/Cargo.toml | |||
| @@ -6,31 +6,22 @@ version = "0.1.0" | |||
| 6 | resolver = "2" | 6 | resolver = "2" |
| 7 | 7 | ||
| 8 | [features] | 8 | [features] |
| 9 | default = [ | ||
| 10 | "defmt-default", | ||
| 11 | ] | ||
| 12 | defmt-default = [] | ||
| 13 | defmt-trace = [] | ||
| 14 | defmt-debug = [] | ||
| 15 | defmt-info = [] | ||
| 16 | defmt-warn = [] | ||
| 17 | defmt-error = [] | ||
| 18 | 9 | ||
| 19 | [dependencies] | 10 | [dependencies] |
| 20 | embassy = { version = "0.1.0", path = "../../embassy", features = ["defmt", "defmt-trace"] } | 11 | embassy = { version = "0.1.0", path = "../../embassy", features = ["defmt"] } |
| 21 | embassy-traits = { version = "0.1.0", path = "../../embassy-traits", features = ["defmt"] } | 12 | embassy-traits = { version = "0.1.0", path = "../../embassy-traits", features = ["defmt"] } |
| 22 | embassy-stm32 = { version = "0.1.0", path = "../../embassy-stm32", features = ["defmt", "defmt-trace", "stm32h743zi", "net", "time-driver-tim2"] } | 13 | embassy-stm32 = { version = "0.1.0", path = "../../embassy-stm32", features = ["defmt", "stm32h743zi", "net", "time-driver-tim2"] } |
| 23 | embassy-hal-common = {version = "0.1.0", path = "../../embassy-hal-common" } | 14 | embassy-hal-common = {version = "0.1.0", path = "../../embassy-hal-common" } |
| 24 | embassy-net = { path = "../../embassy-net", default-features = false, features = ["defmt-debug", "defmt", "tcp", "medium-ethernet", "pool-16"] } | 15 | embassy-net = { path = "../../embassy-net", default-features = false, features = ["defmt", "tcp", "medium-ethernet", "pool-16"] } |
| 25 | embassy-macros = { path = "../../embassy-macros" } | 16 | embassy-macros = { path = "../../embassy-macros" } |
| 26 | 17 | ||
| 27 | defmt = "0.2.3" | 18 | defmt = "0.3" |
| 28 | defmt-rtt = "0.2.0" | 19 | defmt-rtt = "0.3" |
| 29 | 20 | ||
| 30 | cortex-m = "0.7.3" | 21 | cortex-m = "0.7.3" |
| 31 | cortex-m-rt = "0.7.0" | 22 | cortex-m-rt = "0.7.0" |
| 32 | embedded-hal = "0.2.6" | 23 | embedded-hal = "0.2.6" |
| 33 | panic-probe = { version = "0.2.0", features = ["print-defmt"] } | 24 | panic-probe = { version = "0.3", features = ["print-defmt"] } |
| 34 | futures = { version = "0.3.17", default-features = false, features = ["async-await"] } | 25 | futures = { version = "0.3.17", default-features = false, features = ["async-await"] } |
| 35 | rtt-target = { version = "0.3.1", features = ["cortex-m"] } | 26 | rtt-target = { version = "0.3.1", features = ["cortex-m"] } |
| 36 | heapless = { version = "0.7.5", default-features = false } | 27 | heapless = { version = "0.7.5", default-features = false } |
| @@ -40,8 +31,8 @@ critical-section = "0.2.5" | |||
| 40 | micromath = "2.0.0" | 31 | micromath = "2.0.0" |
| 41 | 32 | ||
| 42 | [dependencies.smoltcp] | 33 | [dependencies.smoltcp] |
| 43 | git = "https://github.com/smoltcp-rs/smoltcp" | 34 | git = "https://github.com/bobmcwhirter/smoltcp" |
| 44 | rev = "e4241510337e095b9d21136c5f58b2eaa1b78479" | 35 | rev = "faf81d21daae16b650b16e59a8422a8283e8a302" |
| 45 | default-features = false | 36 | default-features = false |
| 46 | features = [ | 37 | features = [ |
| 47 | "proto-ipv4", | 38 | "proto-ipv4", |
diff --git a/examples/stm32l4/Cargo.toml b/examples/stm32l4/Cargo.toml index 26d4cae48..c6862b211 100644 --- a/examples/stm32l4/Cargo.toml +++ b/examples/stm32l4/Cargo.toml | |||
| @@ -6,29 +6,20 @@ version = "0.1.0" | |||
| 6 | resolver = "2" | 6 | resolver = "2" |
| 7 | 7 | ||
| 8 | [features] | 8 | [features] |
| 9 | default = [ | ||
| 10 | "defmt-default", | ||
| 11 | ] | ||
| 12 | defmt-default = [] | ||
| 13 | defmt-trace = [] | ||
| 14 | defmt-debug = [] | ||
| 15 | defmt-info = [] | ||
| 16 | defmt-warn = [] | ||
| 17 | defmt-error = [] | ||
| 18 | 9 | ||
| 19 | [dependencies] | 10 | [dependencies] |
| 20 | embassy = { version = "0.1.0", path = "../../embassy", features = ["defmt", "defmt-trace"] } | 11 | embassy = { version = "0.1.0", path = "../../embassy", features = ["defmt" ] } |
| 21 | embassy-traits = { version = "0.1.0", path = "../../embassy-traits", features = ["defmt"] } | 12 | embassy-traits = { version = "0.1.0", path = "../../embassy-traits", features = ["defmt"] } |
| 22 | embassy-stm32 = { version = "0.1.0", path = "../../embassy-stm32", features = ["defmt", "defmt-trace", "unstable-pac", "stm32l4s5vi", "time-driver-tim2"] } | 13 | embassy-stm32 = { version = "0.1.0", path = "../../embassy-stm32", features = ["defmt", "unstable-pac", "stm32l4s5vi", "time-driver-tim2"] } |
| 23 | embassy-hal-common = {version = "0.1.0", path = "../../embassy-hal-common" } | 14 | embassy-hal-common = {version = "0.1.0", path = "../../embassy-hal-common" } |
| 24 | 15 | ||
| 25 | defmt = "0.2.3" | 16 | defmt = "0.3" |
| 26 | defmt-rtt = "0.2.0" | 17 | defmt-rtt = "0.3" |
| 27 | 18 | ||
| 28 | cortex-m = "0.7.3" | 19 | cortex-m = "0.7.3" |
| 29 | cortex-m-rt = "0.7.0" | 20 | cortex-m-rt = "0.7.0" |
| 30 | embedded-hal = "0.2.6" | 21 | embedded-hal = "0.2.6" |
| 31 | panic-probe = { version = "0.2.0", features = ["print-defmt"] } | 22 | panic-probe = { version = "0.3", features = ["print-defmt"] } |
| 32 | futures = { version = "0.3.17", default-features = false, features = ["async-await"] } | 23 | futures = { version = "0.3.17", default-features = false, features = ["async-await"] } |
| 33 | rtt-target = { version = "0.3.1", features = ["cortex-m"] } | 24 | rtt-target = { version = "0.3.1", features = ["cortex-m"] } |
| 34 | heapless = { version = "0.7.5", default-features = false } | 25 | heapless = { version = "0.7.5", default-features = false } |
diff --git a/examples/stm32u5/.cargo/config.toml b/examples/stm32u5/.cargo/config.toml index 9f5e14801..826fd33f3 100644 --- a/examples/stm32u5/.cargo/config.toml +++ b/examples/stm32u5/.cargo/config.toml | |||
| @@ -1,7 +1,9 @@ | |||
| 1 | [target.'cfg(all(target_arch = "arm", target_os = "none"))'] | 1 | [target.'cfg(all(target_arch = "arm", target_os = "none"))'] |
| 2 | # replace STM32F429ZITx with your chip as listed in `probe-run --list-chips` | 2 | # replace STM32F429ZITx with your chip as listed in `probe-run --list-chips` |
| 3 | #runner = "probe-run --chip STM32U585AIIx" | 3 | #runner = "probe-run --chip STM32U585AIIx" |
| 4 | runner = "/Users/bob/outboard-repos/probe-run/target/debug/probe-run-rp --chip STM32U585AIIx" | 4 | #runner = "/Users/bob/outboard-repos/probe-run/target/debug/probe-run-rp --chip STM32U585AIIx" |
| 5 | #runner = "/Users/bob/repos/probe-run/target/debug/probe-run --chip STM32U585AIIx" | ||
| 6 | runner = "probe-run --chip STM32U585AIIx" | ||
| 5 | 7 | ||
| 6 | [build] | 8 | [build] |
| 7 | target = "thumbv7em-none-eabi" | 9 | target = "thumbv7em-none-eabi" |
diff --git a/examples/stm32u5/Cargo.toml b/examples/stm32u5/Cargo.toml index e84e1992f..a0138e1a5 100644 --- a/examples/stm32u5/Cargo.toml +++ b/examples/stm32u5/Cargo.toml | |||
| @@ -6,29 +6,20 @@ version = "0.1.0" | |||
| 6 | resolver = "2" | 6 | resolver = "2" |
| 7 | 7 | ||
| 8 | [features] | 8 | [features] |
| 9 | default = [ | ||
| 10 | "defmt-default", | ||
| 11 | ] | ||
| 12 | defmt-default = [] | ||
| 13 | defmt-trace = [] | ||
| 14 | defmt-debug = [] | ||
| 15 | defmt-info = [] | ||
| 16 | defmt-warn = [] | ||
| 17 | defmt-error = [] | ||
| 18 | 9 | ||
| 19 | [dependencies] | 10 | [dependencies] |
| 20 | embassy = { version = "0.1.0", path = "../../embassy", features = ["defmt", "defmt-trace"] } | 11 | embassy = { version = "0.1.0", path = "../../embassy", features = ["defmt"] } |
| 21 | embassy-traits = { version = "0.1.0", path = "../../embassy-traits", features = ["defmt"] } | 12 | embassy-traits = { version = "0.1.0", path = "../../embassy-traits", features = ["defmt"] } |
| 22 | embassy-stm32 = { version = "0.1.0", path = "../../embassy-stm32", features = ["defmt", "defmt-trace", "unstable-pac", "stm32u585ai", "memory-x" ] } | 13 | embassy-stm32 = { version = "0.1.0", path = "../../embassy-stm32", features = ["defmt", "unstable-pac", "stm32u585ai", "memory-x" ] } |
| 23 | embassy-hal-common = {version = "0.1.0", path = "../../embassy-hal-common" } | 14 | embassy-hal-common = {version = "0.1.0", path = "../../embassy-hal-common" } |
| 24 | 15 | ||
| 25 | defmt = "0.2" | 16 | defmt = "0.3" |
| 26 | defmt-rtt = "0.2" | 17 | defmt-rtt = "0.3" |
| 27 | 18 | ||
| 28 | cortex-m = "0.7.3" | 19 | cortex-m = "0.7.3" |
| 29 | cortex-m-rt = "0.7.0" | 20 | cortex-m-rt = "0.7.0" |
| 30 | embedded-hal = "0.2.6" | 21 | embedded-hal = "0.2.6" |
| 31 | panic-probe = { version = "0.2.0", features = ["print-defmt"] } | 22 | panic-probe = { version = "0.3", features = ["print-defmt"] } |
| 32 | futures = { version = "0.3.17", default-features = false, features = ["async-await"] } | 23 | futures = { version = "0.3.17", default-features = false, features = ["async-await"] } |
| 33 | rtt-target = { version = "0.3.1", features = ["cortex-m"] } | 24 | rtt-target = { version = "0.3.1", features = ["cortex-m"] } |
| 34 | heapless = { version = "0.7.5", default-features = false } | 25 | heapless = { version = "0.7.5", default-features = false } |
diff --git a/examples/stm32u5/src/bin/boot.rs b/examples/stm32u5/src/bin/boot.rs index 91eff735d..23cfc3061 100644 --- a/examples/stm32u5/src/bin/boot.rs +++ b/examples/stm32u5/src/bin/boot.rs | |||
| @@ -12,5 +12,7 @@ use embassy_stm32 as _; | |||
| 12 | fn main() -> ! { | 12 | fn main() -> ! { |
| 13 | info!("Hello World!"); | 13 | info!("Hello World!"); |
| 14 | 14 | ||
| 15 | loop {} | 15 | loop { |
| 16 | //defmt::info!("loop!"); | ||
| 17 | } | ||
| 16 | } | 18 | } |
