Commit Graph

261 Commits

Author SHA1 Message Date
2992688184 Cargo.toml: update smoltcp to 0.5.0 2019-09-30 21:57:13 +02:00
7f32591441 default.nix: pin rust-nightly, build firmware 2019-09-30 21:54:44 +02:00
9486946d06 main: improve command resonses 2019-09-24 01:57:52 +02:00
ef17e1c4ff README: describe all the commands 2019-09-24 01:55:19 +02:00
b508129c37 tec: make more brief 2019-09-24 01:45:51 +02:00
fca427cb5a show pwm config of each tec channel 2019-09-24 01:45:11 +02:00
18e3e95615 group 4 PWM channels into Tec, add commands to configure them 2019-09-24 01:33:23 +02:00
a82ffadb35 add PWM abstraction for TEC control 2019-09-23 16:50:43 +02:00
8d01ca8d20 rm unused test dependency 2019-09-19 15:38:00 +02:00
f3664f01be command_parser: fix float parsing 2019-09-19 15:28:11 +02:00
6f36c682cd command_parser: add tests
Run with: cargo test --target=x86_64-unknown-linux-gnu
2019-09-19 14:56:34 +02:00
35dfba99e1 style 2019-09-19 03:29:06 +02:00
63aa2347b7 add remote postfilter configuration 2019-09-19 03:28:47 +02:00
87de8b7859 style 2019-09-19 02:18:37 +02:00
e126bc0fe1 command_parser: parameterize pid, pwm with channel <0/1> 2019-09-19 02:17:54 +02:00
1514131fa3 ad7172: fix doc
Closes Gitea issue #1
2019-09-19 01:00:49 +02:00
6d4676a72a command_parser: fix pid 2019-09-19 00:59:16 +02:00
f64e4fe2f3 main: don't log expected failure, log MAC to semihosting 2019-09-19 00:49:41 +02:00
2d2e7e80e0 ad7172: rm unused FiltCon odc setting 2019-09-19 00:49:26 +02:00
2ca06e023b command_parser: use combinators, allow trailing whitespace 2019-09-19 00:46:50 +02:00
4e5de7831b command_parser: fix non-optional whitespace after report 2019-09-18 23:25:40 +02:00
db1788bafb ad7172: fix bits in regs::setup_con 2019-09-18 22:45:29 +02:00
ba485cab16 README: link rustup 2019-09-18 01:53:19 +02:00
ee8f8e87c3 README: build instructions 2019-09-18 00:29:29 +02:00
f048026d21 update dependency lexical-core 2019-09-17 19:22:23 +02:00
42a9b89db1 let pid control pwm 2019-09-17 19:09:47 +02:00
393c276bda document commands 2019-09-17 01:46:29 +02:00
4c00548646 main: revert resampling, report per-channel 2019-09-17 01:42:50 +02:00
a7ee2107ea command_parser: rm outdated TODO note 2019-09-17 01:38:12 +02:00
4587406d44 ad7172: setup adc 2019-09-17 00:13:46 +02:00
7e51585aa9 command_parser: swap btoi for lexical-core to parse floats too 2019-09-16 23:41:22 +02:00
d4428b7fdc ad7172: rename reg bit bi_unipolar to bipolar 2019-09-16 23:28:28 +02:00
ee4d24de6a delint 2019-09-14 21:40:49 +02:00
b969f5c057 command_parser: complete to all PidParameter tokens 2019-09-14 21:35:06 +02:00
700ab47f0e improve output formatting 2019-09-14 21:23:45 +02:00
b6af43feda control the pid 2019-09-14 21:11:26 +02:00
426be0d5f1 main: remove allocator 2019-09-14 19:09:38 +02:00
5c58c4370d command_parser: switch from logos to nom 2019-09-14 19:03:52 +02:00
328f6921fa README: init 2019-09-14 16:59:21 +02:00
8163d083b9 main: print panic info with semihosting 2019-09-14 16:52:35 +02:00
1395e8b410 add support for manipulating pwm duty cycle 2019-09-14 03:09:07 +02:00
5e0f55647a command_parser: rm unused tokens 2019-09-14 02:35:12 +02:00
5ef8d6a747 main: rework reporting 2019-09-14 02:33:56 +02:00
ff3a793c19 ad7172: restrict macro input to remove cast 2019-09-14 02:19:18 +02:00
07dcc608bc ad7172: setup_channel() fixes 2019-09-14 02:18:47 +02:00
957f92d177 main: fight jitter 2019-09-14 02:18:33 +02:00
f8dd7d1912 main: setup thermostat v1 channels, report avgs at 10hz 2019-09-14 01:36:47 +02:00
c50e1c7766 remove too detailed adc control 2019-09-14 00:48:26 +02:00
76e30c0f7c some too detailed adc config 2019-09-14 00:46:48 +02:00
f2dcb8b08d command_parser: unnest the grammar definition 2019-09-13 01:14:14 +02:00