Commit Graph

264 Commits

Author SHA1 Message Date
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 f2dcb8b08d command_parser: unnest the grammar definition 2019-09-13 01:14:14 +02:00
Astro 3fd1b2265d command_parser: channel setup 2019-09-13 01:04:59 +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 7f95f01711 ad7172::regs: add Offset, Gain, docs, fix FiltCon address 2019-09-10 16:21:51 +02:00
Astro 3ef317f00d ad7172: add more regs 2019-09-09 16:20:15 +02:00
Astro 8b2cc15d7d ad7172: break out mods adc, checksum, regs 2019-09-08 21:41:59 +02:00
Astro 98a5788770 ad7172: add Channel, Input 2019-09-08 21:30:26 +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 4249addba2 systick: use mutex 2019-09-08 02:13:02 +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 baab9b2d3f board: move softspi input read before high flank 2019-09-08 00:44:40 +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 3f7da6e328 ad7172: rm debug 2019-09-02 00:00:50 +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 01a9decfa1 board: fix gpio initialization 2019-09-01 23:47:15 +02:00
Astro e947415242 board: refactor gpio to use indexed access 2019-09-01 22:57:35 +02:00
Astro 5ba09db517 board: wait gpio portb ready 2019-09-01 22:46:15 +02:00
Astro fad1050556 gpio: fix PE4 idx 2019-09-01 22:28:46 +02:00
Astro bf8c7fda88 gpio: fix masked_data 2019-09-01 22:05:26 +02:00
Astro f94173788e default.nix: update rustcSrc 2019-08-31 20:22:33 +02:00
Astro d5b7855c3b board: fix gpio input dir flag
softspi works and ad7172 now returns data.
2019-08-30 00:29:00 +02:00
Astro 1df35ef15f ad7172: reset 2019-08-30 00:12:16 +02:00
Astro 12a1c1ac07 ad7172: start with nss high 2019-08-30 00:11:23 +02:00
Astro 2b855c8ad9 ad7172: add identify() 2019-08-29 23:56:02 +02:00
Astro 574b96187a ad7172: doc, style 2019-08-29 23:55:45 +02:00
Astro 6e02b2c4f6 ad7172: fix comms rw flag 2019-08-29 23:54:44 +02:00
Astro f3831aba18 main: change IP address to 192.168.1.26 2019-08-29 22:40:14 +02:00
Astro 0eefebf3ed board: reset timers for clean initialization
raced into hardfaults without.
2019-08-29 22:39:08 +02:00
Astro 9c0f560367 board: bring up gpio port b 2019-08-29 22:17:33 +02:00
Astro 8b20118198 board: enable timers 2019-08-29 21:41:16 +02:00
Sebastien Bourdeauducq 1329c1567c strip more ionpak code 2019-08-21 17:31:51 +08:00
Sebastien Bourdeauducq 68e2b4634f adapt OpenOCD script 2019-08-21 17:00:13 +08:00
Sebastien Bourdeauducq e23e13fced add nix files 2019-08-21 16:59:58 +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 9c7ca0df87 add board::delay 2019-08-08 02:26:53 +02:00
Astro f04bbd8726 softspi: add SyncSoftSpi 2019-08-08 02:26:53 +02:00