2022-10-20 15:17:43 +08:00
|
|
|
[package]
|
|
|
|
categories = ["embedded", "no-std"]
|
|
|
|
name = "kirdy"
|
|
|
|
description = "kirdy firmware"
|
|
|
|
license = "GPL-3.0-only"
|
|
|
|
authors = ["topquark12 <aw@m-labs.hk>"]
|
|
|
|
version = "0.0.0"
|
|
|
|
keywords = ["kirdy", "laser", "physics"]
|
|
|
|
repository = "https://git.m-labs.hk/M-Labs/kirdy"
|
|
|
|
edition = "2021"
|
|
|
|
|
|
|
|
[package.metadata.docs.rs]
|
|
|
|
features = []
|
|
|
|
default-target = "thumbv7em-none-eabihf"
|
|
|
|
|
|
|
|
[dependencies]
|
|
|
|
panic-halt = "0.2.0"
|
2024-03-22 17:44:06 +08:00
|
|
|
cortex-m = { version = "0.7.7", features = ["critical-section-single-core"] }
|
|
|
|
cortex-m-rt = { version = "0.7.3", features = ["device"] }
|
2022-10-20 15:17:43 +08:00
|
|
|
cortex-m-semihosting = "0.5.0"
|
|
|
|
log = "0.4.17"
|
|
|
|
bare-metal = "1"
|
|
|
|
nb = "1"
|
|
|
|
cortex-m-log = { version = "0.7.0", features = ["log-integration", "semihosting"] }
|
2024-03-22 17:44:06 +08:00
|
|
|
stm32f4xx-hal = { version = "0.20.0", features = ["stm32f407", "otg-fs", "usb_fs"] }
|
|
|
|
stm32-eth = { version = "0.6.0", features = ["stm32f407", "smoltcp-phy", "smoltcp"] }
|
2024-01-31 17:16:10 +08:00
|
|
|
ieee802_3_miim = "0.8.0"
|
2024-08-27 16:11:55 +08:00
|
|
|
smoltcp = { version = "0.11.0", default-features = false, features = ["proto-ipv4", "socket-tcp", "medium-ethernet", "iface-neighbor-cache-count-16"] }
|
2024-02-27 16:26:05 +08:00
|
|
|
uom = { version = "0.30", default-features = false, features = ["autoconvert", "si", "f32", "use_serde"] }
|
2022-10-20 20:57:24 +08:00
|
|
|
num-traits = { version = "0.2.15", default-features = false, features = ["libm"] }
|
2024-03-22 17:44:06 +08:00
|
|
|
usb-device = "0.3.2"
|
|
|
|
usbd-serial = "0.2.1"
|
2022-10-20 20:57:24 +08:00
|
|
|
fugit = "0.3.6"
|
2022-10-22 20:20:49 +08:00
|
|
|
rtt-target = { version = "0.3.1", features = ["cortex-m"] }
|
2024-02-02 14:07:25 +08:00
|
|
|
miniconf = "0.9.0"
|
2024-01-11 12:34:07 +08:00
|
|
|
serde = { version = "1.0.158", features = ["derive"], default-features = false }
|
2024-01-15 16:58:10 +08:00
|
|
|
sfkv = "0.1"
|
2024-01-16 16:18:39 +08:00
|
|
|
bit_field = "0.10"
|
2024-02-16 15:38:05 +08:00
|
|
|
crc = "3.0.1"
|
2024-01-16 16:18:39 +08:00
|
|
|
byteorder = { version = "1", default-features = false }
|
2022-10-20 15:17:43 +08:00
|
|
|
[features]
|
|
|
|
semihosting = ["cortex-m-log/semihosting"]
|
2022-10-22 20:20:49 +08:00
|
|
|
RTT = []
|
2022-10-20 15:17:43 +08:00
|
|
|
|
|
|
|
[profile.release]
|
|
|
|
codegen-units = 1
|
|
|
|
incremental = false
|
|
|
|
debug = true
|
|
|
|
opt-level = "s"
|
|
|
|
lto = true
|