5 releases (3 breaking)

0.4.0 Dec 15, 2024
0.3.1 Apr 13, 2023
0.3.0 Apr 12, 2022
0.2.0 Apr 12, 2022
0.1.0 Apr 12, 2022

#732 in Embedded development

Download history 124/week @ 2024-12-13 9/week @ 2024-12-20 20/week @ 2025-02-14 1/week @ 2025-02-21 1/week @ 2025-02-28

293 downloads per month

GPL-3.0 license

27KB
461 lines

kobo-rs

Crates.io Docs.rs Build Clippy

kobo-rs is a minimal Rust library for interacting with modified Kobo e-readers. This is designed for use in applications running on the Kobo, not over the network.

Building

Since we are cross-compiling (please don't try compiling software on a Kobo), we need a few tools.

docker pull ewpratten/kobo-cross-armhf:latest
cargo install cross

With that out of the way, the library can be built with:

cross build --target arm-unknown-linux-musleabihf

You'll need to do these same steps with your own applications.

Running an example

To build and run the display example, you'll need to do the following:

cross build --target arm-unknown-linux-musleabihf --release --example display

Then, copy the binary to the Kobo's internal storage and execute the following command on the device:

/mnt/onboard/display

Dependencies

~6.5–9MB
~172K SLoC