f45380aa3c
Signed-off-by: fly <merspieler@alwaysdata.net>
39 lines
867 B
TOML
39 lines
867 B
TOML
[package]
|
|
name = "firmware"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[dependencies]
|
|
embedded-hal = "0.2.7"
|
|
nb = "1"
|
|
cortex-m = "0.7.6"
|
|
cortex-m-rt = "0.7.1"
|
|
# Panic behaviour, see https://crates.io/keywords/panic-impl for alternatives
|
|
panic-halt = "0.2.0"
|
|
#stm32-usbd = "0.6.0"
|
|
usb-device = "0.2.9"
|
|
usbd-serial = "0.1.1"
|
|
ryu = "1.0.16"
|
|
panic-semihosting = "0.6.0"
|
|
usbd-human-interface-device = "0.4.5"
|
|
packed_struct = { version = "0.10.1", default-features = false }
|
|
fugit = "0.3.7"
|
|
bytemuck = { version = "1.15.0", features = ["derive"] }
|
|
|
|
[dependencies.stm32f1xx-hal]
|
|
version = "0.10.0"
|
|
features = ["rt", "stm32f103"]
|
|
|
|
[profile.dev]
|
|
codegen-units = 1
|
|
opt-level = "z"
|
|
|
|
[profile.dev.package."*"]
|
|
codegen-units = 1
|
|
opt-level = "z"
|
|
|
|
[profile.release]
|
|
# or "z"
|
|
opt-level = "z"
|