forked from M-Labs/humpback-dds
45 lines
1.1 KiB
TOML
45 lines
1.1 KiB
TOML
[package]
|
|
authors = ["occheung"]
|
|
edition = "2018"
|
|
readme = "README.md"
|
|
name = "firmware"
|
|
version = "0.1.0"
|
|
|
|
[dependencies]
|
|
cortex-m-semihosting = "0.3.3"
|
|
panic-halt = "0.2.0"
|
|
cortex-m = "0.6.2"
|
|
cortex-m-rt = "0.6.12"
|
|
embedded-hal = "0.2.4"
|
|
stm32h7 = {version = "0.11.0"}
|
|
stm32h7xx-hal = {version = "0.6.0", features = [ "stm32h743v", "rt", "unproven" ] }
|
|
stm32h7-ethernet = { version = "0.2.0", features = [ "phy_lan8742a", "stm32h743v" ] }
|
|
smoltcp = { version = "0.6.0", default-features = false, features = [ "ethernet", "proto-ipv4", "proto-ipv6", "socket-raw" ] }
|
|
nb = "1.0.0"
|
|
|
|
# Logging and Panicking
|
|
panic-itm = "0.4.1"
|
|
panic-semihosting = { version = "0.5.3", features = [ "exit" ] }
|
|
cortex-m-rtic = "0.5.3"
|
|
cortex-m-log = { version = "~0.6", features = [ "itm" ] }
|
|
|
|
[[example]]
|
|
name = "ethernet"
|
|
|
|
[[example]]
|
|
name = "fpga_config"
|
|
|
|
# Uncomment for the allocator example.
|
|
# alloc-cortex-m = "0.3.5"
|
|
|
|
# this lets you use `cargo fix`!
|
|
[[bin]]
|
|
name = "firmware"
|
|
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
|