2019-03-07 23:27:33 +08:00
|
|
|
[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"]
|
2019-03-12 01:24:57 +08:00
|
|
|
repository = "https://github.com/m-labs/adc2tcp"
|
2019-03-07 23:27:33 +08:00
|
|
|
#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]
|
2019-03-15 02:58:41 +08:00
|
|
|
panic-abort = { version = "0.3.1" }
|
|
|
|
panic-semihosting = { version = "0.5.1", optional = true }
|
|
|
|
log = "0.4"
|
2019-03-15 05:02:08 +08:00
|
|
|
bare-metal = "0.2"
|
2019-03-07 23:27:33 +08:00
|
|
|
cortex-m = "0.5"
|
|
|
|
cortex-m-rt = { version = "0.6", features = ["device"] }
|
2019-03-15 02:58:41 +08:00
|
|
|
cortex-m-log = { version = "0.4", features = ["log-integration"] }
|
2019-03-12 01:23:52 +08:00
|
|
|
stm32f4 = { version = "0.6", features = ["rt", "stm32f429"] }
|
|
|
|
embedded-hal = "0.2"
|
|
|
|
#stm32f4xx-hal = { version = "0.3.0", features = ["rt", "stm32f429"] }
|
2019-03-15 03:23:57 +08:00
|
|
|
stm32f4xx-hal = { git = "https://github.com/stm32-rs/stm32f4xx-hal.git", features = ["rt", "stm32f429"] }
|
|
|
|
#stm32-eth = { version = "0.1.1", features = ["smoltcp-phy", "nucleo-f429zi"] }
|
|
|
|
stm32-eth = { git = "https://github.com/stm32-rs/stm32-eth.git", features = ["smoltcp-phy", "nucleo-f429zi"] }
|
2019-03-15 21:19:50 +08:00
|
|
|
smoltcp = { version = "0.5.0", default-features = false, features = ["proto-ipv4", "socket-tcp", "log"] }
|
2019-03-07 23:27:33 +08:00
|
|
|
|
2019-03-15 02:58:41 +08:00
|
|
|
[features]
|
|
|
|
semihosting = ["panic-semihosting", "cortex-m-log/semihosting"]
|
2019-03-07 23:27:33 +08:00
|
|
|
|
|
|
|
[profile.release]
|
2019-03-12 01:25:13 +08:00
|
|
|
codegen-units = 1
|
|
|
|
incremental = false
|
|
|
|
debug = true
|
|
|
|
opt-level = "s"
|
2019-03-07 23:27:33 +08:00
|
|
|
lto = true
|