Initial commit

This commit is contained in:
2022-03-29 11:16:38 +02:00
commit 9731fa04c4
17 changed files with 757 additions and 0 deletions

35
Cargo.toml Normal file
View File

@@ -0,0 +1,35 @@
[package]
name = "garden-watering-controller"
version = "0.1.0"
authors = ["Erik <erikfor@outlook.de>"]
edition = "2018"
license = "MIT OR Apache-2.0"
[[bin]]
name = "garden-watering-controller"
test = false
bench = false
[dependencies]
panic-halt = "0.2.0"
ufmt = "0.1.0"
nb = "0.1.2"
embedded-hal = "0.2.3"
[dependencies.arduino-hal]
git = "https://github.com/rahix/avr-hal"
rev = "f84c0dff774c2292bc932b670955165161ecc7d1"
features = ["arduino-nano"]
# Configure the build for minimal size - AVRs have very little program memory
[profile.dev]
panic = "abort"
lto = true
opt-level = "s"
[profile.release]
panic = "abort"
codegen-units = 1
debug = true
lto = true
opt-level = "s"