aboutsummaryrefslogtreecommitdiff
path: root/examples/embassy-stm32g4/Cargo.toml
blob: dd97fdb4fcf802b4e0e8384159f9063d75a20eb6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
[package]
edition = "2021"
name = "embassy-stm32g4-examples"
version = "0.1.0"
license = "MIT OR Apache-2.0"

[workspace]

[dependencies.rtic]
path="../../rtic"
features = ["thumbv7-backend"]

[dependencies.rtic-monotonics]
path="../../rtic-monotonics"
features = ["cortex-m-systick"]

[dependencies.rtic-sync]
path="../../rtic-sync"

[dependencies]
# Change stm32g431cb to your chip name, if necessary. Also change .cargo/config.toml
embassy-stm32 = { version = "0.1.0", features = [ "defmt", "time-driver-any", "stm32g431cb", "memory-x", "unstable-pac", "exti"]  }

defmt = "0.3"
defmt-rtt = "0.4"

cortex-m = { version = "0.7.6", features = ["critical-section-single-core"] }
cortex-m-rt = "0.7.0"
embedded-hal = "0.2.6"
panic-probe = { version = "0.3", features = ["print-defmt"] }

[profile.release]
debug = 2