77 lines
2.2 KiB
TOML
77 lines
2.2 KiB
TOML
[package]
|
|
authors = ["Robin Mueller <robin.mueller.m@gmail.com>"]
|
|
name = "satrs-stm32h7-nucleo-rtic"
|
|
edition = "2021"
|
|
version = "0.1.0"
|
|
default-run = "satrs-stm32h7-nucleo-rtic"
|
|
|
|
[lib]
|
|
harness = false
|
|
|
|
# needed for each integration test
|
|
[[test]]
|
|
name = "integration"
|
|
harness = false
|
|
|
|
[dependencies]
|
|
embedded-models = { path = "../models", features = ["defmt"] }
|
|
|
|
cortex-m = { version = "0.7", features = ["critical-section-single-core"] }
|
|
arbitrary-int = "2"
|
|
cortex-m-rt = "0.7"
|
|
defmt = "1"
|
|
defmt-rtt = "1"
|
|
panic-probe = { version = "1", features = ["print-defmt"] }
|
|
embedded-alloc = "0.7"
|
|
static_cell = "2"
|
|
rtic = { version = "2", features = ["thumbv7-backend"] }
|
|
spacepackets = { version = "0.17", default-features = false, features = ["defmt"] }
|
|
postcard = "1"
|
|
|
|
embassy-stm32 = { git = "https://github.com/embassy-rs/embassy.git", rev = "dd8e4c14e53f088bae27c5d841ab7a4fa338a52c", version = "0.6", features = ["stm32h743zi", "memory-x", "defmt", "time-driver-any"]}
|
|
|
|
embassy-time = { git = "https://github.com/embassy-rs/embassy.git", rev = "dd8e4c14e53f088bae27c5d841ab7a4fa338a52c", version = "0.5", features = ["defmt-timestamp-uptime-ms", "generic-queue-16"] }
|
|
embassy-net = { git = "https://github.com/embassy-rs/embassy.git", rev = "dd8e4c14e53f088bae27c5d841ab7a4fa338a52c", version = "0.9", features = ["medium-ethernet", "proto-ipv4", "tcp", "udp", "auto-icmp-echo-reply", "dhcpv4", "defmt"] }
|
|
embassy-sync = { git = "https://github.com/embassy-rs/embassy.git", rev = "dd8e4c14e53f088bae27c5d841ab7a4fa338a52c" }
|
|
|
|
[dev-dependencies]
|
|
defmt-test = "0.5"
|
|
|
|
# cargo build/run
|
|
[profile.dev]
|
|
codegen-units = 1
|
|
debug = 2
|
|
debug-assertions = true # <-
|
|
incremental = false
|
|
opt-level = 's' # <-
|
|
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 # <-
|
|
|
|
# cargo test --release
|
|
[profile.bench]
|
|
codegen-units = 1
|
|
debug = 2
|
|
debug-assertions = false # <-
|
|
incremental = false
|
|
lto = 'fat'
|
|
opt-level = 3 # <-
|
|
overflow-checks = false # <-
|