Commit Graph

160 Commits

Author SHA1 Message Date
Wladimir J. van der Laan
8cc5ff53f5 rust: DVP
Add support for DVP peripheral.
2019-06-01 21:56:35 +00:00
Wladimir J. van der Laan
5f2c94fa01 rust: Simplify I2C traits
All the I2C blocks are the same, no need for all the different
abstractions. Fix a wrongly copy-pasted comment.
2019-06-01 09:35:42 +00:00
Wladimir J. van der Laan
62b594b8dc rust: make PWM usable with every timer 2019-05-31 16:17:11 +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
1235edb40c rust: Update k210-pac commit
Use latest version.
2019-05-30 19:51:26 +00:00
Wladimir J. van der Laan
21a834f162 esp8266at: Add listen support 2019-05-30 19:44:04 +00:00
Wladimir J. van der Laan
df87ec9e90 rust: k210-console improvements 2019-05-30 19:37:38 +00:00
Wladimir J. van der Laan
0f2c36805b doc: of toolchains and loading 2019-05-27 12:24:48 +02:00
Wladimir J. van der Laan
36dff385d9 doc: Add note about nightly to README 2019-05-27 10:02:54 +02: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
Wladimir J. van der Laan
bfe58fe72b rust: Add esp8266at library
Add library for communicating with WiFi using the ESP8266 using AT
commands.

This really should have its own repo at some point.
2019-05-27 07:51:21 +00:00
Wladimir J. van der Laan
adc1e73ad1 rust: clamp instead of ignore out-of-bounds events in rgbcontrol
Improve responsiveness at edges of screen.
2019-05-27 07:51:21 +00:00
Wladimir J. van der Laan
678366a4d6 Fix debug printing in uart-passthrough demo 2019-05-27 09:50:44 +02:00
Wladimir J. van der Laan
d14c640356 rust: Add rgbcontrol 2019-05-23 13:53:02 +00:00
Wladimir J. van der Laan
8ca44a288f Add demo for uart-passthrough 2019-05-21 17:10:51 +02:00
Wladimir J. van der Laan
72a5434397 rust: uart-passthrough set baudrate and reset 2019-05-21 12:09:10 +00:00
Wladimir J. van der Laan
d07fd84160 Unify license and CoC
No need to have a zillion copies of these in the repository. Also remove
references to RISC-V team.
2019-05-20 15:59:28 +02:00
Wladimir J. van der Laan
a9b7ed1a43 rust: Add uart-passthrough 2019-05-20 15:58:09 +02:00
Wladimir J. van der Laan
f046ca6066 doc: Make it clear that only M1w module has wifi 2019-05-19 16:35:21 +02:00
Wladimir J. van der Laan
12818a0f1d rust: Bump k210-pac and k210-hal git revisions 2019-05-18 20:24:52 +00:00
Wladimir J. van der Laan
3b70f3cdc1 rust/sysctl: clock_get_freq for all clocks 2019-05-18 20:20:22 +00:00
Wladimir J. van der Laan
ce28856653 rust: LCD x/y y/x orientation 2019-05-18 19:51:24 +00:00
Wladimir J. van der Laan
5e1213870c rust/i2c: Use variants in init 2019-05-18 19:29:55 +00:00
Wladimir J. van der Laan
b14679e35a rust: Generalize I2C peripheral 2019-05-18 19:07:17 +00:00
Wladimir J. van der Laan
13b91fe993 rust: Generalize SPI peripheral 2019-05-18 18:14:26 +00:00
Wladimir J. van der Laan
f69a77eb84 rust/sysctl: Implement resets 2019-05-17 19:12:59 +00:00
Wladimir J. van der Laan
44cad99478 rust/sysctl: APB clocks 2019-05-17 18:07:39 +00:00
Wladimir J. van der Laan
1b48da7be0 rust/k210-shared: More helpful panic handler
Try sending the panic message to UARTHS.
2019-05-15 08:14:49 +00:00
Wladimir J. van der Laan
b6676ffcf8 rust/accelerometer: Draw bubble 2019-05-14 17:09:32 +00:00
Wladimir J. van der Laan
a7f437c8ce rust: Add accelerometer 2019-05-14 17:19:25 +02:00
Wladimir J. van der Laan
d24e79f7b9 doc: Another README.md update 2019-05-14 17:16:08 +02:00
Wladimir J. van der Laan
578a51a0c1 doc: Update README.md for running instructions 2019-05-14 11:43:29 +00:00
Wladimir J. van der Laan
08cd58654f rust: enum for I/O pin definitions 2019-05-14 11:30:22 +00:00
Wladimir J. van der Laan
582092810f rust: Use core::cmp where useful
Write clamping expressions shorter.
Thought it didn't exist in no_std...
2019-05-13 20:18:56 +00:00
Wladimir J. van der Laan
927a21229e rust: Add game-of-life 2019-05-13 19:57:59 +00:00
Wladimir J. van der Laan
0572038b07 rust: Add i2c module
Just enough to support NS2009 for now.
2019-05-13 19:57:01 +00:00
Wladimir J. van der Laan
3ba2204102 rust/sysctl: clock_get_freq add I2Cx clocks 2019-05-13 13:31:09 +00:00
Wladimir J. van der Laan
8dff340565 rust/sysctl: Handle all peripheral clocks 2019-05-13 09:30:23 +00:00
Wladimir J. van der Laan
92945318ab src: Add secp256k1 tests and sign/verify benchmarks
For checking CPU speed/reliability and testing secp256k1 on weird
architectures.
2019-05-12 23:54:47 +00:00
Wladimir J. van der Laan
667c051969 rust: Add mandelbrot
Add mandelbrot zoom demo, and move some things to shared crate.

Switch to most recent k210-pac revision to fix fp issue.
2019-05-12 18:17:42 +00:00
Wladimir J. van der Laan
819ad1665f doc: Add note about memory ranges 2019-05-12 20:12:38 +02:00
Wladimir J. van der Laan
d9453e8a52 Fun with rust 2019-05-11 10:24:59 +00:00
Wladimir J. van der Laan
b641ee4054 doc: OTP fuses A/B 2019-05-07 19:35:16 +02:00
Wladimir J. van der Laan
2b2aee39cc doc: Fill in descriptions for APU 2019-05-06 17:47:37 +02:00
Wladimir J. van der Laan
8673075a8f doc: DVP register descriptions
`reversed` is unknown.
2019-05-06 17:36:47 +02:00
Wladimir J. van der Laan
5713dd90c1 doc: UART registers 2019-05-06 16:29:38 +02:00
Wladimir J. van der Laan
8b0b40aa7b doc: Some small clarifications 2019-05-06 11:45:08 +02:00
Wladimir J. van der Laan
955cce7bb4
Merge pull request #1 from thepian/patch-1
Flashing firmware
2019-05-05 17:57:33 +02:00
Henrik Vendelbo
9b11a42291
Flashing firmware 2019-05-05 12:02:47 +02:00