Commit Graph

110 Commits (e23e13fcede09d4ec20542a357d74e0439a55d5a)

Author SHA1 Message Date
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
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
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
Sebastien Bourdeauducq e1d7924969 openocd: use find instead of hardcoded paths 2018-03-19 20:31:41 +08:00
Sebastien Bourdeauducq 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
Sebastien Bourdeauducq fe088d7bba update errata 2017-12-29 15:05:12 +08:00
Sebastien Bourdeauducq 416ac30496 do not use GDB for loading firmware
GDB adds unnecessary steps and it is buggy.
2017-09-25 19:15:46 +08:00
Sebastien Bourdeauducq 30746d0565 update smoltcp 2017-09-09 17:25:07 +08:00
Sebastien Bourdeauducq 916e940780 update smoltcp 2017-09-05 17:26:23 +08:00
Sebastien Bourdeauducq e6f3a65642 add JSON interface 2017-08-08 13:13:41 +08:00
Sebastien Bourdeauducq 9c64304cf2 support resetting settings using pushbutton 2017-08-08 12:19:05 +08:00
Sebastien Bourdeauducq 5c1cacbd38 support setting IP address via web interface 2017-08-08 11:05:09 +08:00
Sebastien Bourdeauducq 1a06b524d2 implement support for HTTP GET arguments 2017-08-08 11:04:38 +08:00
Sebastien Bourdeauducq e8174f0773 config fixes 2017-08-08 10:48:59 +08:00
Sebastien Bourdeauducq e5ea9a3918 add config module 2017-08-07 23:57:29 +08:00
Sebastien Bourdeauducq 5955c0f97d more eeprom cleanups, use u8 for buffer 2017-08-07 23:56:51 +08:00
Sebastien Bourdeauducq bd9082561c add missing file from previous commit 2017-08-07 20:03:18 +08:00
Sebastien Bourdeauducq 49cac15621 track firmware version and expose to HTTP 2017-08-07 17:54:25 +08:00
Sebastien Bourdeauducq 98256a0239 clean up index.html 2017-08-07 16:49:47 +08:00
Sebastien Bourdeauducq 3059720430 configure Ethernet LED 2017-08-07 16:36:21 +08:00
Sebastien Bourdeauducq d812932732 cleanup and integrate EEPROM driver 2017-08-07 16:13:29 +08:00
Alexander Shafir f94b50e9ab add EEPROM driver 2017-08-07 12:27:59 +08:00
Sebastien Bourdeauducq dcd2a57aa4 get_time_ms: ADC sampling takes NSH+12 cycles and not NSH 2017-08-07 11:25:39 +08:00
Sebastien Bourdeauducq 5ef86b4516 detect invalid programmed MAC address 2017-08-07 11:18:19 +08:00
Alexander Shafir 115211c143 fix ethmac initialization 2017-08-07 11:18:00 +08:00