forked from M-Labs/thermostat
39 lines
1.2 KiB
TOML
39 lines
1.2 KiB
TOML
[package]
|
|
categories = ["embedded", "no-std"]
|
|
name = "adc2tcp"
|
|
description = "Poll ADC pin, report over TCP"
|
|
license = "Apache-2.0"
|
|
authors = ["Astro <astro@spaceboyz.net>"]
|
|
version = "0.0.0"
|
|
keywords = ["ethernet", "eth", "stm32", "adc", "tcp"]
|
|
repository = "https://github.com/m-labs/adc2tcp"
|
|
#documentation = "https://docs.rs/adc2tcp/"
|
|
edition = "2018"
|
|
|
|
[badges]
|
|
travis-ci = { repository = "astro/adc2tcp", branch = "master" }
|
|
maintenance = { status = "experimental" }
|
|
|
|
[package.metadata.docs.rs]
|
|
features = []
|
|
default-target = "thumbv7em-none-eabihf"
|
|
|
|
[dependencies]
|
|
panic-abort = "0.3.1"
|
|
|
|
cortex-m = "0.5"
|
|
cortex-m-rt = { version = "0.6", features = ["device"] }
|
|
cortex-m-semihosting = "0.3"
|
|
|
|
stm32f4 = { version = "0.6", features = ["rt", "stm32f429"] }
|
|
embedded-hal = "0.2"
|
|
stm32f4xx-hal = { git = "https://github.com/stm32-rs/stm32f4xx-hal.git", features = ["rt", "stm32f429"] }
|
|
#stm32f4xx-hal = { version = "0.3.0", features = ["rt", "stm32f429"] }
|
|
stm32-eth = { version = "0.1.0", features = ["smoltcp-phy", "nucleo-f429zi"] }
|
|
smoltcp = { version = "0.5.0", default-features = false, features = ["proto-ipv4", "proto-ipv6", "socket-icmp", "socket-udp", "socket-tcp", "log", "verbose"] }
|
|
|
|
|
|
[profile.release]
|
|
debug = 2
|
|
lto = true
|