Xteink X4 firmware in Rust
- C 78.3%
- Rust 20.7%
- HTML 1%
| .cargo | fix cross compilation | |
| .github/workflows | initial commit | |
| core | save activity stack | |
| desktop | save activity stack | |
| libs | merge sdspi code | |
| s3 | update grayscale lut | |
| x4 | update grayscale lut | |
| .clippy.toml | initial commit | |
| .gitignore | basic s3 support | |
| baseline.sh | baseline | |
| bench.sh | bench: only epub | |
| Cargo.lock | save activity stack | |
| Cargo.toml | merge sdspi code | |
| diagram.json | initial commit | |
| espflash.toml | initial commit | |
| espflash_ports.toml | initial commit | |
| LICENSE.txt | prep | |
| out.tbmp | 3-bit image file format | |
| README.md | xhtml and xml from sd | |
| run-s3.sh | fix cross compilation | |
| run.sh | fix cross compilation | |
| rust-toolchain.toml | basic s3 support | |
| rustfmt.toml | rustfmt & add config | |
| wokwi.toml | rebrand | |
| xteink-xt4.csv | initial commit | |
Trusty Reader
Custom Firmware for the Xteink X4.
Build
- Rust & cargo
- riscv32 toolchain https://docs.espressif.com/projects/rust/book/getting-started/toolchain.html
- espflash
Since I want to keep the original partition layout but still use the espflash utils, there is run.sh which builds and runs a firmware image.
Can be ran on desktop with cargo run --bin trusty-desktop
Structure
Try to put everything in Core, so you can run it on a desktop.