rename to thermostat

This commit is contained in:
Sebastien Bourdeauducq 2019-06-01 10:14:32 +08:00
parent 59ad66ace4
commit 27d5684782
3 changed files with 6 additions and 10 deletions

2
Cargo.lock generated
View File

@ -1,7 +1,7 @@
# This file is automatically @generated by Cargo. # This file is automatically @generated by Cargo.
# It is not intended for manual editing. # It is not intended for manual editing.
[[package]] [[package]]
name = "adc2tcp" name = "thermostat"
version = "0.0.0" version = "0.0.0"
dependencies = [ dependencies = [
"bare-metal 0.2.4 (registry+https://github.com/rust-lang/crates.io-index)", "bare-metal 0.2.4 (registry+https://github.com/rust-lang/crates.io-index)",

View File

@ -1,18 +1,14 @@
[package] [package]
categories = ["embedded", "no-std"] categories = ["embedded", "no-std"]
name = "adc2tcp" name = "thermostat"
description = "Poll ADC pin, report over TCP" description = "Thermostat firmware"
license = "GPL-3.0-only" license = "GPL-3.0-only"
authors = ["Astro <astro@spaceboyz.net>"] authors = ["Astro <astro@spaceboyz.net>"]
version = "0.0.0" version = "0.0.0"
keywords = ["ethernet", "eth", "stm32", "adc", "tcp"] keywords = ["thermostat", "laser", "physics"]
repository = "https://github.com/m-labs/adc2tcp" repository = "https://git.m-labs.hk/M-Labs/thermostat"
edition = "2018" edition = "2018"
[badges]
travis-ci = { repository = "astro/adc2tcp", branch = "master" }
maintenance = { status = "experimental" }
[package.metadata.docs.rs] [package.metadata.docs.rs]
features = [] features = []
default-target = "thumbv7em-none-eabihf" default-target = "thumbv7em-none-eabihf"

View File

@ -67,7 +67,7 @@ fn init_log() {
#[entry] #[entry]
fn main() -> ! { fn main() -> ! {
init_log(); init_log();
info!("adc2tcp"); info!("Thermostat firmware");
let mut cp = CorePeripherals::take().unwrap(); let mut cp = CorePeripherals::take().unwrap();
cp.SCB.enable_icache(); cp.SCB.enable_icache();