aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorBob McWhirter <[email protected]>2021-11-08 14:20:31 -0500
committerBob McWhirter <[email protected]>2021-11-08 14:20:51 -0500
commit5f124ec49f82ae2a4163edb6f1a8bad7898ba823 (patch)
treeb5f2313e4544638a75d322eb595172801c7160ad /examples
parentdb889da0446833ff219e652bd68c397af858b999 (diff)
Update U5 to init RCC.
Diffstat (limited to 'examples')
-rw-r--r--examples/stm32u5/.cargo/config.toml3
-rw-r--r--examples/stm32u5/Cargo.toml8
2 files changed, 8 insertions, 3 deletions
diff --git a/examples/stm32u5/.cargo/config.toml b/examples/stm32u5/.cargo/config.toml
index ba3ef1dc5..9f5e14801 100644
--- a/examples/stm32u5/.cargo/config.toml
+++ b/examples/stm32u5/.cargo/config.toml
@@ -1,6 +1,7 @@
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`
3runner = "probe-run --chip STM32U585AIIx" 3#runner = "probe-run --chip STM32U585AIIx"
4runner = "/Users/bob/outboard-repos/probe-run/target/debug/probe-run-rp --chip STM32U585AIIx"
4 5
5[build] 6[build]
6target = "thumbv7em-none-eabi" 7target = "thumbv7em-none-eabi"
diff --git a/examples/stm32u5/Cargo.toml b/examples/stm32u5/Cargo.toml
index b3c3c9700..e84e1992f 100644
--- a/examples/stm32u5/Cargo.toml
+++ b/examples/stm32u5/Cargo.toml
@@ -22,8 +22,8 @@ embassy-traits = { version = "0.1.0", path = "../../embassy-traits", features =
22embassy-stm32 = { version = "0.1.0", path = "../../embassy-stm32", features = ["defmt", "defmt-trace", "unstable-pac", "stm32u585ai", "memory-x" ] } 22embassy-stm32 = { version = "0.1.0", path = "../../embassy-stm32", features = ["defmt", "defmt-trace", "unstable-pac", "stm32u585ai", "memory-x" ] }
23embassy-hal-common = {version = "0.1.0", path = "../../embassy-hal-common" } 23embassy-hal-common = {version = "0.1.0", path = "../../embassy-hal-common" }
24 24
25defmt = "0.2.3" 25defmt = "0.2"
26defmt-rtt = "0.2.0" 26defmt-rtt = "0.2"
27 27
28cortex-m = "0.7.3" 28cortex-m = "0.7.3"
29cortex-m-rt = "0.7.0" 29cortex-m-rt = "0.7.0"
@@ -35,3 +35,7 @@ heapless = { version = "0.7.5", default-features = false }
35 35
36micromath = "2.0.0" 36micromath = "2.0.0"
37 37
38#[patch.crates-io]
39#defmt = { git="https://github.com/knurling-rs/defmt.git" }
40#defmt-rtt = { git="https://github.com/knurling-rs/defmt.git" }
41