Go to file
Nahuel Lofeudo 08c028bfa8 Better error handling 2026-05-24 07:36:43 +01:00
resources First set of changes to use config file instead of hard-coded settings. 2026-05-23 11:25:41 +01:00
src Better error handling 2026-05-24 07:36:43 +01:00
.gitignore We don't need to ignore the ttf file anymore. 2026-04-21 08:16:08 +01:00
Cargo.toml Better error handling 2026-05-24 07:36:43 +01:00
Cross.toml Checkpoint 2026-05-13 20:41:15 +01:00
readme.md Added LCD font 2026-04-21 08:15:30 +01:00

readme.md

Credits:

Install ARM toolchains:

cargo install cross
rustup target add aarch64-unknown-linux-gnu   # 64-bit Pi OS
rustup target add armv7-unknown-linux-gnueabihf  # 32-bit Pi 2/3/4 OS
rustup target add arm-unknown-linux-gnueabihf    # ARMv6 (Pi Zero/1)

sudo apt-get update
sudo apt-get install gcc-aarch64-linux-gnu gcc-arm-linux-gnueabihf

Cross-compile

# 2) Build
~/.cargo/bin/cross build --target aarch64-unknown-linux-gnu --release
~/.cargo/bin/cross build --target armv7-unknown-linux-gnueabihf --release
~/.cargo/bin/cross build --target arm-unknown-linux-gnueabihf --release