2024-02-11 19:20:39 +00:00
|
|
|
[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"
|
2024-03-18 16:04:47 +00:00
|
|
|
panic-semihosting = "0.6.0"
|
2024-03-19 23:40:41 +00:00
|
|
|
usbd-human-interface-device = "0.4.5"
|
2024-04-05 22:10:13 +00:00
|
|
|
packed_struct = { version = "0.10.1", default-features = false }
|
|
|
|
fugit = "0.3.7"
|
2024-02-11 19:20:39 +00:00
|
|
|
|
|
|
|
[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"
|