2023-01-25 22:18:32 +01:00
|
|
|
[package]
|
2024-05-19 21:25:03 +02:00
|
|
|
name = "satrs-stm32f3-disco-rtic"
|
2023-01-25 22:18:32 +01:00
|
|
|
version = "0.1.0"
|
|
|
|
edition = "2021"
|
2024-05-19 21:25:03 +02:00
|
|
|
default-run = "satrs-stm32f3-disco-rtic"
|
2023-01-25 22:18:32 +01:00
|
|
|
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
|
|
|
|
[dependencies]
|
2024-03-25 14:26:07 +01:00
|
|
|
cortex-m = { version = "0.7", features = ["critical-section-single-core"] }
|
2023-01-25 22:18:32 +01:00
|
|
|
cortex-m-rt = "0.7"
|
2024-03-28 23:47:07 +01:00
|
|
|
defmt = "0.3"
|
|
|
|
defmt-brtt = { version = "0.1", default-features = false, features = ["rtt"] }
|
|
|
|
panic-probe = { version = "0.3", features = ["print-defmt"] }
|
2024-03-25 14:26:07 +01:00
|
|
|
embedded-hal = "0.2.7"
|
2024-03-28 23:47:07 +01:00
|
|
|
cortex-m-semihosting = "0.5.0"
|
2024-03-25 14:26:07 +01:00
|
|
|
enumset = "1"
|
2024-03-22 13:08:01 +01:00
|
|
|
heapless = "0.8"
|
2024-03-25 14:26:07 +01:00
|
|
|
|
|
|
|
[dependencies.rtic]
|
|
|
|
version = "2"
|
|
|
|
features = ["thumbv7-backend"]
|
|
|
|
|
|
|
|
[dependencies.rtic-monotonics]
|
|
|
|
version = "1"
|
|
|
|
features = ["cortex-m-systick"]
|
2023-01-25 22:18:32 +01:00
|
|
|
|
|
|
|
[dependencies.cobs]
|
|
|
|
git = "https://github.com/robamu/cobs.rs.git"
|
|
|
|
branch = "all_features"
|
|
|
|
default-features = false
|
|
|
|
|
|
|
|
[dependencies.stm32f3xx-hal]
|
|
|
|
git = "https://github.com/robamu/stm32f3xx-hal"
|
2024-03-25 14:26:07 +01:00
|
|
|
version = "0.11.0-alpha.0"
|
2023-01-25 22:18:32 +01:00
|
|
|
features = ["stm32f303xc", "rt", "enumset"]
|
2024-03-25 14:26:07 +01:00
|
|
|
branch = "complete-dma-update"
|
2023-01-25 22:18:32 +01:00
|
|
|
# Can be used in workspace to develop and update HAL
|
|
|
|
# path = "../stm32f3xx-hal"
|
|
|
|
|
|
|
|
[dependencies.stm32f3-discovery]
|
|
|
|
git = "https://github.com/robamu/stm32f3-discovery"
|
|
|
|
version = "0.8.0-alpha.0"
|
2024-03-25 14:26:07 +01:00
|
|
|
branch = "complete-dma-update-hal"
|
2023-01-25 22:18:32 +01:00
|
|
|
# Can be used in workspace to develop and update BSP
|
|
|
|
# path = "../stm32f3-discovery"
|
|
|
|
|
2024-03-22 13:08:01 +01:00
|
|
|
[dependencies.satrs]
|
2024-05-19 21:31:59 +02:00
|
|
|
# path = "satrs"
|
|
|
|
version = "0.2"
|
2023-01-25 22:18:32 +01:00
|
|
|
default-features = false
|
2024-04-04 18:21:30 +02:00
|
|
|
features = ["defmt"]
|
2023-01-25 22:18:32 +01:00
|
|
|
|
2024-03-28 23:47:07 +01:00
|
|
|
[dev-dependencies]
|
|
|
|
defmt-test = "0.3"
|
2023-01-25 22:18:32 +01:00
|
|
|
|
2024-03-28 23:47:07 +01:00
|
|
|
# cargo test
|
|
|
|
[profile.test]
|
|
|
|
codegen-units = 1
|
|
|
|
debug = 2
|
|
|
|
debug-assertions = true # <-
|
|
|
|
incremental = false
|
|
|
|
opt-level = "s" # <-
|
|
|
|
overflow-checks = true # <-
|
|
|
|
|
|
|
|
# cargo build/run --release
|
2023-01-25 22:18:32 +01:00
|
|
|
[profile.release]
|
2024-03-28 23:47:07 +01:00
|
|
|
codegen-units = 1
|
|
|
|
debug = 2
|
|
|
|
debug-assertions = false # <-
|
|
|
|
incremental = false
|
|
|
|
lto = 'fat'
|
|
|
|
opt-level = "s" # <-
|
|
|
|
overflow-checks = false # <-
|
|
|
|
|
|
|
|
# cargo test --release
|
|
|
|
[profile.bench]
|
|
|
|
codegen-units = 1
|
|
|
|
debug = 2
|
|
|
|
debug-assertions = false # <-
|
|
|
|
incremental = false
|
|
|
|
lto = 'fat'
|
|
|
|
opt-level = "s" # <-
|
|
|
|
overflow-checks = false # <-
|