Wladimir J. van der Laan
a1c65405ea
rust: Clean up cargo patches
...
No more need for any `k210-hal` and `k210-pac` patches with 0.2.0
2019-12-28 20:17:37 +00:00
Wladimir J. van der Laan
d7eb8dd0e8
rust: sysctl PLL setting
...
Port over the terrible PLL frequency setting code, and use it to set up
the clocks for every demo.
2019-08-20 21:18:23 +00:00
Wladimir J. van der Laan
f8f7235daa
rust: UART/network optimizations
2019-08-18 14:40:19 +00:00
Wladimir J. van der Laan
213ca1d50e
rust: Use buffered UART1 in term-server and weather
2019-08-16 17:27:39 +00:00
Wladimir J. van der Laan
161bd9982e
rust: Prefer X::from
to as X
2019-08-11 18:16:44 +00:00
Wladimir J. van der Laan
ff1e5c5483
Rust dependency bump
2019-08-09 14:51:54 +00:00
Wladimir J. van der Laan
e86d5c5f75
Use DMAC for display everywhere
...
This mimics the way the Kendryte SDK does things—it is better because
the MMIO based SPI tends to sometimes lose synchonization when the CPU
doesn't keep up providing data fast enough.
2019-08-07 10:22:05 +00:00
Wladimir J. van der Laan
0f15e5f85d
weather: Repeat query every 10 minutes
2019-07-26 12:32:04 +00:00
Wladimir J. van der Laan
c091f406eb
Fix cargo build
in /rust
...
Move esp8266 out of the workspace, it defaults to `nom` with different
features (`std` enabled) which means that `std` gets enabled for use of
nom (see https://github.com/rust-lang/cargo/issues/4463 ).
This caused the build to fail with missing std in riscv-….
2019-07-26 11:06:22 +00:00
Wladimir J. van der Laan
d4b2b6bbbd
rust: Dependency bump k210-hal
...
Peripherals moved to pac, UARTS take the pins to use and internally
configure sysctl.
2019-07-03 18:24:24 +00:00
Wladimir J. van der Laan
02f1e24258
rust/weather: Revert unintentional changes
2019-07-02 17:53:40 +00:00
Wladimir J. van der Laan
c1fc53d249
Dependencies bump
2019-07-02 17:20:39 +00:00
Wladimir J. van der Laan
e9f95b7e0d
rust: Fix orientation in dvp-ov
...
Camera image was rotated by 180 degrees, the easiest way to fix this
is to rotate the display from LRUD to RLDU.
2019-06-01 23:25:41 +00:00
Wladimir J. van der Laan
610af76592
rust: esp8266at: Wrap parsing of responses to avoid exposing dependency on nom
...
Makes it possible to switch parser later for whatever reason,
it's undesirable to expose these implementation details to clients.
2019-06-01 23:06:00 +00:00
Wladimir J. van der Laan
00ac503e3e
rust: clean up FPIOA interface
...
Remove need for .into() everywhere by accepting everything
that goes into usize in the appropriate methods.
2019-06-01 21:56:35 +00:00
Wladimir J. van der Laan
f8166abd0f
rust/esp8266at: Pass a FnMut directly
...
There's no good reason to require a mutable reference to a closure
here.
Also works around https://github.com/rust-embedded/riscv-rt/issues/33
2019-05-31 11:31:14 +00:00
Wladimir J. van der Laan
76fcc08c46
WIP: improve weather
...
Fix Rust warnings etc.
2019-05-30 20:38:05 +00:00
Wladimir J. van der Laan
71b427b188
rust: Add weather
...
Add `weather` demo, also extend console as necessary to handle wttr.in's escape codes.
2019-05-27 07:51:21 +00:00