k210-sdk-stuff/rust/k210-shared
Wladimir J. van der Laan 4f2c51e00d rust: Unswizzle framebuffer for ST7789V display
By swapping the endian in RAMCTRL as well as in the SPI driver,
the frame format can be coerced into the "normal" order of pixels in
little endian, `0xBBBBAAAA` instead of `0xAAAABBBB`. This allows
seamless casting from an array of `u16`.

Accessing as 32-bit units might still be desirable for performance, but
it is a lesser worry now.

Note that a 32-bit alignment constraint still does hold for DMA.
2020-11-06 07:26:24 +00:00
..
src rust: Unswizzle framebuffer for ST7789V display 2020-11-06 07:26:24 +00:00
.gitignore rust: Add mandelbrot 2019-05-12 18:17:42 +00:00
build.rs rust: Add mandelbrot 2019-05-12 18:17:42 +00:00
Cargo.toml rust: Fixes for newer dependencies 2020-06-02 21:07:54 +00:00
memory.x rust: Resurrect interrupt test for second core 2020-06-03 16:10:41 +00:00
README.md Unify license and CoC 2019-05-20 15:59:28 +02:00

k210-console

Console emulator written in rust for the Maix Go.

Barely functional at the moment. This is really a test for some functionality like SPI and driving the display from Rust.