|
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 |
|
|
3fd1b2265d
|
command_parser: channel setup
|
2019-09-13 01:04:59 +02:00 |
|
|
edb0401838
|
add a very small allocator
|
2019-09-12 16:12:03 +02:00 |
|
|
44f5a8338c
|
command_parser: s/CommandShow/ShowCommand/, delint
|
2019-09-11 00:23:15 +02:00 |
|
|
0dcd35c9f2
|
add session
|
2019-09-10 23:38:09 +02:00 |
|
|
7f95f01711
|
ad7172::regs: add Offset, Gain, docs, fix FiltCon address
|
2019-09-10 16:21:51 +02:00 |
|
|
3ef317f00d
|
ad7172: add more regs
|
2019-09-09 16:20:15 +02:00 |
|
|
8b2cc15d7d
|
ad7172: break out mods adc, checksum, regs
|
2019-09-08 21:41:59 +02:00 |
|
|
98a5788770
|
ad7172: add Channel, Input
|
2019-09-08 21:30:26 +02:00 |
|
|
4e518e88ee
|
main: measure read intervals
|
2019-09-08 02:43:55 +02:00 |
|
|
25dc3fb70c
|
systick: implement nanosecond precision
|
2019-09-08 02:34:59 +02:00 |
|
|
4249addba2
|
systick: use mutex
|
2019-09-08 02:13:02 +02:00 |
|
|
225f3754a1
|
move systick under board/
|
2019-09-08 01:54:51 +02:00 |
|
|
e5529a8b94
|
add systick interrupt for timekeeping
|
2019-09-08 01:24:20 +02:00 |
|
|
152bc7b98b
|
main: use 10x nop delay for softspi
|
2019-09-08 00:47:41 +02:00 |
|
|
3bf1010969
|
ad7172: implement crc checksumming
|
2019-09-08 00:47:14 +02:00 |
|
|
baab9b2d3f
|
board: move softspi input read before high flank
|
2019-09-08 00:44:40 +02:00 |
|
|
f7af12adf5
|
ad7172: refactor and add xor support
|
2019-09-08 00:22:42 +02:00 |
|
|
0697914182
|
upgrade to rust edition 2018
|
2019-09-05 23:34:48 +02:00 |
|
|
c5dfaf0ee2
|
delint
|
2019-09-02 00:01:18 +02:00 |
|
|
3f7da6e328
|
ad7172: rm debug
|
2019-09-02 00:00:50 +02:00 |
|
|
f94d915328
|
identify adc
|
2019-09-01 23:56:45 +02:00 |
|
|
ea395460c8
|
add cortex-m-semihosting
|
2019-09-01 23:56:27 +02:00 |
|
|
01a9decfa1
|
board: fix gpio initialization
|
2019-09-01 23:47:15 +02:00 |
|
|
e947415242
|
board: refactor gpio to use indexed access
|
2019-09-01 22:57:35 +02:00 |
|
|
5ba09db517
|
board: wait gpio portb ready
|
2019-09-01 22:46:15 +02:00 |
|
|
fad1050556
|
gpio: fix PE4 idx
|
2019-09-01 22:28:46 +02:00 |
|
|
bf8c7fda88
|
gpio: fix masked_data
|
2019-09-01 22:05:26 +02:00 |
|
|
d5b7855c3b
|
board: fix gpio input dir flag
softspi works and ad7172 now returns data.
|
2019-08-30 00:29:00 +02:00 |
|
|
1df35ef15f
|
ad7172: reset
|
2019-08-30 00:12:16 +02:00 |
|
|
12a1c1ac07
|
ad7172: start with nss high
|
2019-08-30 00:11:23 +02:00 |
|
|
2b855c8ad9
|
ad7172: add identify()
|
2019-08-29 23:56:02 +02:00 |
|
|
574b96187a
|
ad7172: doc, style
|
2019-08-29 23:55:45 +02:00 |
|
|
6e02b2c4f6
|
ad7172: fix comms rw flag
|
2019-08-29 23:54:44 +02:00 |
|
|
f3831aba18
|
main: change IP address to 192.168.1.26
|
2019-08-29 22:40:14 +02:00 |
|
|
0eefebf3ed
|
board: reset timers for clean initialization
raced into hardfaults without.
|
2019-08-29 22:39:08 +02:00 |
|
|
9c0f560367
|
board: bring up gpio port b
|
2019-08-29 22:17:33 +02:00 |
|
|
8b20118198
|
board: enable timers
|
2019-08-29 21:41:16 +02:00 |
|
|
1329c1567c
|
strip more ionpak code
|
2019-08-21 17:31:51 +08:00 |
|
|
68e2b4634f
|
adapt OpenOCD script
|
2019-08-21 17:00:13 +08:00 |
|
|
82b6e8e179
|
main: rm stale coda, poll adc, broadcast over tcp
|
2019-08-08 02:26:53 +02:00 |
|
|
057ddbdbf6
|
add ad7172 adc
|
2019-08-08 02:26:53 +02:00 |
|
|
4437a4195e
|
delay: is unsafe
|
2019-08-08 02:26:53 +02:00 |
|
|
44f48f6e0f
|
main: construct softspi
|
2019-08-08 02:26:53 +02:00 |
|
|
9c7ca0df87
|
add board::delay
|
2019-08-08 02:26:53 +02:00 |
|
|
f04bbd8726
|
softspi: add SyncSoftSpi
|
2019-08-08 02:26:53 +02:00 |
|
|
4bf52b093e
|
implement softspi
|
2019-08-08 02:26:53 +02:00 |
|
|
5f3d674e24
|
add gpio abstraction
|
2019-07-30 18:25:35 +02:00 |
|
|
e4478c3efd
|
timer setup
|
2019-07-30 17:02:05 +02:00 |
|
|
2ac3485b30
|
dismantle ionpak, drive PWMs at fixed rate
|
2019-07-30 15:35:56 +02:00 |
|
whitequark
|
517e531589
|
Update for Rust 1.32, and upgrade dependencies.
|
2019-02-06 09:19:28 +00:00 |
|
whitequark
|
89104a551c
|
Update for latest nightly.
|
2018-08-28 19:57:17 +00:00 |
|
whitequark
|
941f602a20
|
Use the crc crate.
|
2018-03-27 10:16:11 +00:00 |
|
whitequark
|
6ffb157cb8
|
Add Cache-Control header for static assets.
This avoids wasting device cycles on retrieving the same data over
and over.
|
2018-03-27 09:36:16 +00:00 |
|
whitequark
|
2bdc483e15
|
Unbreak network configuration page.
|
2018-03-27 09:32:37 +00:00 |
|
whitequark
|
2d29078ba1
|
Remove unused import.
|
2018-03-27 09:17:57 +00:00 |
|
whitequark
|
8de311a34f
|
Remove unnecessary unsafe blocks.
|
2018-03-27 09:17:34 +00:00 |
|
whitequark
|
b13ef96bbe
|
Fix RxRing::buf_release.
The original code was correct after all.
|
2018-03-27 09:13:11 +00:00 |
|
whitequark
|
308ad97586
|
Rewrite ethmac to split ownership into RX/TX halves.
|
2018-03-27 09:10:47 +00:00 |
|
whitequark
|
5a5596f7a2
|
Fix signature of panic_fmt even further.
|
2018-03-27 08:55:35 +00:00 |
|
whitequark
|
dce70f352a
|
Fix signature of panic_fmt.
|
2018-03-27 08:41:23 +00:00 |
|
whitequark
|
f067d0fee9
|
Fix DMA writing to dangling pointers in ethmac.
|
2018-03-26 12:35:28 +00:00 |
|
whitequark
|
83629cac49
|
Update smoltcp.
|
2018-03-26 11:37:14 +00:00 |
|
whitequark
|
4cac825c41
|
Update firmware dependencies.
|
2018-03-26 11:33:00 +00:00 |
|
|
e1d7924969
|
openocd: use find instead of hardcoded paths
|
2018-03-19 20:31:41 +08:00 |
|
|
cbdd2c409c
|
Revert "Revert the rx_buf_release() change in 8491394a."
This reverts commit 724221c643 .
|
2018-03-19 15:39:41 +08:00 |
|
whitequark
|
dcb5321e82
|
Fix cmp::max/min mixup in 8491394a .
|
2018-01-29 07:43:25 +00:00 |
|
whitequark
|
724221c643
|
Revert the rx_buf_release() change in 8491394a .
|
2018-01-29 07:30:12 +00:00 |
|
whitequark
|
c6887e3813
|
Update cargo-m-rt.
Required for compatibility with newer rustc nightlies.
|
2018-01-26 13:07:43 +00:00 |
|
whitequark
|
8491394a50
|
Update to newer smoltcp.
This also fixes a bug where RX descriptors would be first advanced
and then released.
|
2018-01-26 13:07:43 +00:00 |
|
|
fe088d7bba
|
update errata
|
2017-12-29 15:05:12 +08:00 |
|
|
416ac30496
|
do not use GDB for loading firmware
GDB adds unnecessary steps and it is buggy.
|
2017-09-25 19:15:46 +08:00 |
|
|
30746d0565
|
update smoltcp
|
2017-09-09 17:25:07 +08:00 |
|
|
916e940780
|
update smoltcp
|
2017-09-05 17:26:23 +08:00 |
|
|
e6f3a65642
|
add JSON interface
|
2017-08-08 13:13:41 +08:00 |
|
|
9c64304cf2
|
support resetting settings using pushbutton
|
2017-08-08 12:19:05 +08:00 |
|
|
5c1cacbd38
|
support setting IP address via web interface
|
2017-08-08 11:05:09 +08:00 |
|
|
1a06b524d2
|
implement support for HTTP GET arguments
|
2017-08-08 11:04:38 +08:00 |
|
|
e8174f0773
|
config fixes
|
2017-08-08 10:48:59 +08:00 |
|
|
e5ea9a3918
|
add config module
|
2017-08-07 23:57:29 +08:00 |
|