Commit Graph

107 Commits

Author SHA1 Message Date
Astro 82dba2bb67 ad7172: work on adc setup 2020-03-20 00:45:10 +01:00
Astro bb51cce6f6 ad7172: remove stale code 2020-03-19 23:46:55 +01:00
Astro 723901b341 adc: read u32 for unipolar coding 2020-03-19 23:39:06 +01:00
Astro 2e72a03b93 steinhart_hart: fix equation 2020-03-19 22:56:14 +01:00
Astro bec7019f3a delint 2020-03-19 22:21:17 +01:00
Astro c00c1bb081 main: connect adc/sh/pid/dac, split out into mod channel_state 2020-03-19 22:11:36 +01:00
Astro a94650e208 main: optimize+doc resets 2020-03-19 22:01:16 +01:00
Astro 163bb38f68 simplify pid, keep last_output 2020-03-19 22:00:22 +01:00
Astro e5b4789304 replace dependency lexical-core with num-traits 2020-03-19 19:51:59 +01:00
Astro da4aaf4ff6 implement all the tcp commands 2020-03-19 18:34:57 +01:00
Astro cee0a1fcab steinhart_hart: fix calculation, rename parameters 2020-03-19 00:23:41 +01:00
Astro 0f4442b124 switch pid+steinhart_hart parameters from f32 to f64 2020-03-18 21:56:52 +01:00
Astro 1ad821299b build mods pid + steinhard_hart 2020-03-18 21:51:30 +01:00
Astro 0575b52bc1 session: eliminate copying LineResult wrapper 2020-03-18 21:34:20 +01:00
Astro ac728a2aff server: reduce sockets from 8 to 4 for memory savings 2020-03-18 21:15:34 +01:00
Astro 69a4f5a5d2 merge the network code 2020-03-13 23:39:22 +01:00
Astro 09dbb7d495 add ad5680 2020-03-12 21:41:03 +01:00
Astro fed3e767e9 pins: setup dac spi 0,1 2020-03-12 19:25:21 +01:00
Astro 89b0d142ad main: use HSE clock
supposed to lead to more stable pwm
2020-03-12 18:32:07 +01:00
Astro f021ebd6e6 pins: setup PwmPins 2020-03-12 17:26:14 +01:00
Astro ac336b7a26 main: split into mod init_log 2020-03-12 00:50:24 +01:00
Astro c377706e0e ad7172: move setup from main 2020-03-12 00:44:28 +01:00
Astro 44c8ff54c1 ad7172::checksum: improve 2020-03-12 00:43:52 +01:00
Astro 95d66438d2 main: use sensible WATCHDOG_INTERVAL 2020-03-11 23:17:34 +01:00
Astro 297e38e1cc main: ignore warnings for now 2020-03-11 23:17:17 +01:00
Astro 99f7f2b548 Pins::setup, replace adc_input with ad7172 2020-03-11 23:16:48 +01:00
Astro 71c1f8441c more dependency updates 2020-03-11 23:12:08 +01:00
Astro 60a9c72bf0 led: remove 2020-03-09 23:58:46 +01:00
Astro 2f50071afa switch to stm32f427, setup eth pins 2020-03-09 00:36:19 +01:00
Astro 72b44b4b22 update dependency stm32f4xx-hal to 0.7 2020-03-09 00:07:56 +01:00
Astro 573d5ed6c8 update rust and smoltcp 2020-03-08 23:49:56 +01:00
Sebastien Bourdeauducq c969ad627a add cargosha256.nix 2019-11-01 10:10:08 +08:00
Sebastien Bourdeauducq 94465abfba update r0 and cortex-m-rt 2019-08-08 18:30:00 +08:00
Sebastien Bourdeauducq 27d5684782 rename to thermostat 2019-06-01 10:14:32 +08:00
Sebastien Bourdeauducq 59ad66ace4 remove nix files (will be implemented in nix-scripts) and README (outdated) 2019-05-31 17:35:47 +08:00
Astro 91c27d2499 nix/fetchcargo: fix touch 2019-05-10 00:09:17 +02:00
Astro 05f85dba77 nix/fetchcargo: fix touch 2019-05-09 23:18:00 +02:00
Astro 8ab5a8dafc nix/fetchcargo: stub a src/main.rs for the -cargo src 2019-05-09 21:20:13 +02:00
Astro ddebb88c70 nix/channel-rust-nightly.toml: update to 2019-05-09 from 2019-04-18 2019-05-09 21:04:55 +02:00
Astro d7c7d70632 nix: update sha256 2019-05-09 21:04:18 +02:00
Astro 792ed1fdf0 nix: remove git sources for dependencies that are stable now 2019-05-09 21:03:50 +02:00
Astro 155a67c056 nix: custom build phase
buildRustPackage runs
`cargo build --target ${stdenv.hostPlatform.config}` which is wrong. how
did this ever work with nixos 19.03?
2019-05-09 21:00:45 +02:00
Astro c420dcad9e nix/fetchcargo: restrict src to just Cargo.{toml,lock}
should result in less -vendor pkgs in the nix store
2019-05-09 20:58:57 +02:00
Astro 3d844977ef nix: openocd.src = openocd 2019-05-09 20:58:11 +02:00
Astro 2583de36a8 bump dependencies to now stable versions 2019-05-09 20:56:25 +02:00
Astro e6395eaf9d clippy delint 2019-04-27 15:25:27 +02:00
Astro 70236a2060 rust edition 2018 delint 2019-04-27 15:23:50 +02:00
Astro fdcbeae74f nix/channel-rust-nightly.toml: update to 2019-04-18 from 2019-04-02 2019-04-18 18:07:09 +02:00
Sebastien Bourdeauducq a426c5aad7 use NixOS 19.03 multiarch gdb instead of custom build 2019-04-12 17:14:38 +08:00
Astro 4a334465da default.nix: replace $BIN with ${firmwareBinary} 2019-04-05 23:13:49 +02:00