Commit Graph

108 Commits

Author SHA1 Message Date
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 f64e4fe2f3 main: don't log expected failure, log MAC to semihosting 2019-09-19 00:49:41 +02:00
Astro 42a9b89db1 let pid control pwm 2019-09-17 19:09:47 +02:00
Astro 4c00548646 main: revert resampling, report per-channel 2019-09-17 01:42:50 +02:00
Astro 4587406d44 ad7172: setup adc 2019-09-17 00:13:46 +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 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 5ef8d6a747 main: rework reporting 2019-09-14 02:33:56 +02:00
Astro 957f92d177 main: fight jitter 2019-09-14 02:18:33 +02:00
Astro f8dd7d1912 main: setup thermostat v1 channels, report avgs at 10hz 2019-09-14 01:36:47 +02:00
Astro c50e1c7766 remove too detailed adc control 2019-09-14 00:48:26 +02:00
Astro 76e30c0f7c some too detailed adc config 2019-09-14 00:46:48 +02:00
Astro edb0401838 add a very small allocator 2019-09-12 16:12:03 +02:00
Astro 44f5a8338c command_parser: s/CommandShow/ShowCommand/, delint 2019-09-11 00:23:15 +02:00
Astro 0dcd35c9f2 add session 2019-09-10 23:38:09 +02:00
Astro 4e518e88ee main: measure read intervals 2019-09-08 02:43:55 +02:00
Astro 25dc3fb70c systick: implement nanosecond precision 2019-09-08 02:34:59 +02:00
Astro 225f3754a1 move systick under board/ 2019-09-08 01:54:51 +02:00
Astro e5529a8b94 add systick interrupt for timekeeping 2019-09-08 01:24:20 +02:00
Astro 152bc7b98b main: use 10x nop delay for softspi 2019-09-08 00:47:41 +02:00
Astro 3bf1010969 ad7172: implement crc checksumming 2019-09-08 00:47:14 +02:00
Astro f7af12adf5 ad7172: refactor and add xor support 2019-09-08 00:22:42 +02:00
Astro 0697914182 upgrade to rust edition 2018 2019-09-05 23:34:48 +02:00
Astro c5dfaf0ee2 delint 2019-09-02 00:01:18 +02:00
Astro f94d915328 identify adc 2019-09-01 23:56:45 +02:00
Astro ea395460c8 add cortex-m-semihosting 2019-09-01 23:56:27 +02:00
Astro f3831aba18 main: change IP address to 192.168.1.26 2019-08-29 22:40:14 +02:00
Sebastien Bourdeauducq 1329c1567c strip more ionpak code 2019-08-21 17:31:51 +08:00
Astro 82b6e8e179 main: rm stale coda, poll adc, broadcast over tcp 2019-08-08 02:26:53 +02:00
Astro 057ddbdbf6 add ad7172 adc 2019-08-08 02:26:53 +02:00
Astro 4437a4195e delay: is unsafe 2019-08-08 02:26:53 +02:00
Astro 44f48f6e0f main: construct softspi 2019-08-08 02:26:53 +02:00
Astro 4bf52b093e implement softspi 2019-08-08 02:26:53 +02:00
Astro 5f3d674e24 add gpio abstraction 2019-07-30 18:25:35 +02:00
Astro e4478c3efd timer setup 2019-07-30 17:02:05 +02:00
Astro 2ac3485b30 dismantle ionpak, drive PWMs at fixed rate 2019-07-30 15:35:56 +02:00