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"
|
|
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" ] }
|
|
xca9548a = "0.2.0"
|
|
lm75 = "0.1.1"
|
|
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
|