diff options
| author | Bob McWhirter <[email protected]> | 2021-11-08 14:20:31 -0500 |
|---|---|---|
| committer | Bob McWhirter <[email protected]> | 2021-11-08 14:20:51 -0500 |
| commit | 5f124ec49f82ae2a4163edb6f1a8bad7898ba823 (patch) | |
| tree | b5f2313e4544638a75d322eb595172801c7160ad /examples | |
| parent | db889da0446833ff219e652bd68c397af858b999 (diff) | |
Update U5 to init RCC.
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/stm32u5/.cargo/config.toml | 3 | ||||
| -rw-r--r-- | examples/stm32u5/Cargo.toml | 8 |
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` |
| 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 | 5 | ||
| 5 | [build] | 6 | [build] |
| 6 | target = "thumbv7em-none-eabi" | 7 | target = "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 = | |||
| 22 | embassy-stm32 = { version = "0.1.0", path = "../../embassy-stm32", features = ["defmt", "defmt-trace", "unstable-pac", "stm32u585ai", "memory-x" ] } | 22 | embassy-stm32 = { version = "0.1.0", path = "../../embassy-stm32", features = ["defmt", "defmt-trace", "unstable-pac", "stm32u585ai", "memory-x" ] } |
| 23 | embassy-hal-common = {version = "0.1.0", path = "../../embassy-hal-common" } | 23 | embassy-hal-common = {version = "0.1.0", path = "../../embassy-hal-common" } |
| 24 | 24 | ||
| 25 | defmt = "0.2.3" | 25 | defmt = "0.2" |
| 26 | defmt-rtt = "0.2.0" | 26 | defmt-rtt = "0.2" |
| 27 | 27 | ||
| 28 | cortex-m = "0.7.3" | 28 | cortex-m = "0.7.3" |
| 29 | cortex-m-rt = "0.7.0" | 29 | cortex-m-rt = "0.7.0" |
| @@ -35,3 +35,7 @@ heapless = { version = "0.7.5", default-features = false } | |||
| 35 | 35 | ||
| 36 | micromath = "2.0.0" | 36 | micromath = "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 | |||
