Commit Graph

266 Commits

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