Commit Graph

39 Commits

Author SHA1 Message Date
Astro ac728a2aff server: reduce sockets from 8 to 4 for memory savings 2020-03-18 21:15:34 +01:00
Astro 69a4f5a5d2 merge the network code 2020-03-13 23:39:22 +01:00
Astro 09dbb7d495 add ad5680 2020-03-12 21:41:03 +01:00
Astro fed3e767e9 pins: setup dac spi 0,1 2020-03-12 19:25:21 +01:00
Astro 89b0d142ad main: use HSE clock
supposed to lead to more stable pwm
2020-03-12 18:32:07 +01:00
Astro f021ebd6e6 pins: setup PwmPins 2020-03-12 17:26:14 +01:00
Astro ac336b7a26 main: split into mod init_log 2020-03-12 00:50:24 +01:00
Astro c377706e0e ad7172: move setup from main 2020-03-12 00:44:28 +01:00
Astro 44c8ff54c1 ad7172::checksum: improve 2020-03-12 00:43:52 +01:00
Astro 95d66438d2 main: use sensible WATCHDOG_INTERVAL 2020-03-11 23:17:34 +01:00
Astro 297e38e1cc main: ignore warnings for now 2020-03-11 23:17:17 +01:00
Astro 99f7f2b548 Pins::setup, replace adc_input with ad7172 2020-03-11 23:16:48 +01:00
Astro 60a9c72bf0 led: remove 2020-03-09 23:58:46 +01:00
Astro 2f50071afa switch to stm32f427, setup eth pins 2020-03-09 00:36:19 +01:00
Astro 72b44b4b22 update dependency stm32f4xx-hal to 0.7 2020-03-09 00:07:56 +01:00
Astro 573d5ed6c8 update rust and smoltcp 2020-03-08 23:49:56 +01:00
Sebastien Bourdeauducq 27d5684782 rename to thermostat 2019-06-01 10:14:32 +08:00
Astro e6395eaf9d clippy delint 2019-04-27 15:25:27 +02:00
Astro 70236a2060 rust edition 2018 delint 2019-04-27 15:23:50 +02:00
Astro 2d758af9e4 add feature "generate-hwaddr" to generate indivudal MAC addrs from device electronic signature 2019-03-21 17:41:33 +01:00
Astro 3f6bb05001 setup clocks to 168 mhz, adjust TIMER_RATE to 20
systick must elapse more often at higher clock.
2019-03-18 22:04:34 +01:00
Astro 19a1609238 doc 2019-03-18 21:41:51 +01:00
Astro 7423f23969 timer: lower TIMER_RATE to 10 Hz
1 Hz would be sufficient for the current OUTPUT_INTERVAL but that seems
too low for the hardware.
2019-03-18 21:41:18 +01:00
Astro 3770fe743a deny compiler warnings 2019-03-18 21:40:03 +01:00
Astro 987f881ffa main: remove unused compiler feature `never_type` 2019-03-18 21:39:34 +01:00
Astro 9ec32ca0a2 main: fix wfi, revise leds, unreachable end 2019-03-18 21:18:20 +01:00
Astro 9af94e7616 server.poll(): doc, clean-up, pass smoltcp errors 2019-03-18 21:17:02 +01:00
Astro 38b7e1b871 adc_input: make synchronous and simplify 2019-03-18 20:56:29 +01:00
Astro 1832bd5884 net, server: put tcp storage on stack 2019-03-18 20:02:57 +01:00
Astro e6125581fd main: repurpose led activity, obtain fresh time 2019-03-14 22:07:52 +01:00
Astro 384b537555 net: maintain NET_PENDING flag 2019-03-14 22:02:25 +01:00
Astro 689f33304d main: lower watchdog timeout to 1s 2019-03-14 22:01:01 +01:00
Astro 1f80b456f3 add nucleo-f429zi board leds 2019-03-14 20:55:42 +01:00
Astro c1b0e54550 use semihosting with a feature-flag 2019-03-14 19:58:41 +01:00
Astro 7ce7ff2a6d add timer with systick 2019-03-14 18:22:33 +01:00
Astro eac7c8232f main: revise clock rates
systick seemed to be running too slow
2019-03-14 18:11:15 +01:00
Astro c7c5a733f9 add net+server modules 2019-03-12 22:52:39 +01:00
Astro 03af97ef5e Add adc_input 2019-03-11 18:24:49 +01:00
Astro 51ee455fe7 create nix build infrastructure 2019-03-07 16:27:33 +01:00