Commit Graph

6 Commits

Author SHA1 Message Date
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
Wladimir J. van der Laan
5d20ac05a0 rust: k210-console: Fixes for colorfont generation script 2020-02-16 15:01:05 +00:00
Wladimir J. van der Laan
34761dc4b6 rust: k210-console: allow utf to map to color font
- allow utf map function to map to color font (by making it return
  cell-flags too)
- gencolorfont.py accepts multiple input images
2020-02-09 14:30:05 +00:00
Wladimir J. van der Laan
fa38e28491 rust: Pass in font for k210-console
Allow the user code to specify which font to use.
2020-02-03 15:38:17 +00:00
Wladimir J. van der Laan
f9620a47c3 rust: add colorfont support to k210-console
useful for emoji and other small hardcoded images
2020-02-03 15:00:33 +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