2023-01-25 22:18:32 +01:00
|
|
|
[package]
|
|
|
|
name = "satrs-example-stm32f3-disco"
|
|
|
|
version = "0.1.0"
|
|
|
|
edition = "2021"
|
|
|
|
|
|
|
|
# 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-25 14:26:07 +01:00
|
|
|
embedded-hal = "0.2.7"
|
|
|
|
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.panic-itm]
|
|
|
|
version = "0.4"
|
|
|
|
|
|
|
|
[dependencies.itm_logger]
|
|
|
|
git = "https://github.com/robamu/itm_logger.rs.git"
|
|
|
|
branch = "all_features"
|
|
|
|
version = "0.1.3-alpha.0"
|
|
|
|
|
|
|
|
[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]
|
|
|
|
# git = "https://egit.irs.uni-stuttgart.de/rust/satrs-core.git"
|
|
|
|
version = "0.2.0-rc.0"
|
2023-01-25 22:18:32 +01:00
|
|
|
default-features = false
|
|
|
|
|
|
|
|
# this lets you use `cargo fix`!
|
|
|
|
# [[bin]]
|
|
|
|
# name = "stm32f3-blinky"
|
|
|
|
# test = false
|
|
|
|
# bench = false
|
|
|
|
|
|
|
|
[profile.release]
|
|
|
|
codegen-units = 1 # better optimizations
|
|
|
|
debug = true # symbols are nice and they don't increase the size on Flash
|
|
|
|
lto = true # better optimizations
|