- Enable WSL on your system
- Install Microsoft Terminal (optional)
- Install a subsystem (I prefer Ubuntu)
- Set up your WSL enviroment with a username and pw
- Install Docker
- Download the included file
docker.sh(start this file before starting each time!) - Clone the
Corerepository:git clone https://github.com/XB15/core - Navigate to the core in your WSL window:
cd core - Build and tag the Docker image:
docker build -t xb15_core . - Execute command:
docker run -it -v $PWD:/app xb15_core bash cd /app- Depending on what Pi you're using, you can choose:
./wrap_for_32bit.sh cargo build -p led_matrix_test --bin gif --release --target arm-unknown-linux-gnueabihf./wrap_for_64bit.sh cargo build -p led_matrix_test --bin gif --release --target aarch64-unknown-linux-gnu
Now the compiler should start whirring away.
Files will be output to either:
/core/target/arm-unknown-linux-gnueabihf/release(32bit)/core/target/aarch64-unknown-linux-gnu/release(64bit)
This guide is still being worked on