Go to file
Nahuel Lofeudo dc368ca811 Refresh the GTFS bundle every time the program starts. 2026-05-25 07:45:35 +01:00
resources Refresh the GTFS bundle every time the program starts. 2026-05-25 07:45:35 +01:00
src Refresh the GTFS bundle every time the program starts. 2026-05-25 07:45:35 +01:00
.gitignore We don't need to ignore the ttf file anymore. 2026-04-21 08:16:08 +01:00
Cargo.toml Refresh the GTFS bundle every time the program starts. 2026-05-25 07:45:35 +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