A safe wrapper around the direct memory interface of the APU2+ hardware.
bash
sudo apt install build-essential
git clone https://gitlab.com/dns2utf8/apu_pcengines_hal.git
cargo build --release --example leds
sudo ./target/release/examples/leds
The CI builds the binary on the main
branch on every commit.
You can download the leds example program from https://dns2utf8.gitlab.io/apupcengineshal/leds or use these commands:
bash
wget https://dns2utf8.gitlab.io/apu_pcengines_hal/leds
sudo ./leds