-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathCargo.toml
42 lines (37 loc) · 1.25 KB
/
Cargo.toml
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
34
35
36
37
38
39
40
41
42
[workspace]
resolver = "2"
members = ["core0", "core1"]
[patch."https://github.com/embassy-rs/embassy"]
embassy-stm32 = { git = "https://github.com/taunusflieger/embassy", branch = "feature/HSEM_SPI_FIX" }
embassy-time = { git = "https://github.com/taunusflieger/embassy", branch = "feature/HSEM_SPI_FIX" }
embassy-executor = { git = "https://github.com/taunusflieger/embassy", branch = "feature/HSEM_SPI_FIX" }
# [patch."https://github.com/embassy-rs/stm32-data-generated"]
# stm32-metapac = { path = "../stm32-data/build/stm32-metapac" }
# stm32-metapac = { git = "https://github.com/embassy-rs/stm32-data-generated", tag = "stm32-data-2480982cc5351ab08fe4ed13df5f8d52d6e5bef1", default-features = false, features = [
# "metadata",
# ] }
# cargo build/run
[profile.dev]
codegen-units = 1
debug = 2
debug-assertions = true # <-
incremental = false
opt-level = 3 # <-
overflow-checks = true # <-
# cargo test
[profile.test]
codegen-units = 1
debug = 2
debug-assertions = true # <-
incremental = false
opt-level = 3 # <-
overflow-checks = true # <-
# cargo build/run --release
[profile.release]
codegen-units = 1
debug = 2
debug-assertions = false # <-
incremental = false
lto = 'fat'
opt-level = 3 # <-
overflow-checks = false # <-