PID Line follower for FLL Stolzenau spectator challenge
Go to file
2023-01-28 23:39:10 +01:00
.cargo Update build to use musl toolchain 2022-01-30 15:37:24 +01:00
fonts Initial UI Design 2023-01-17 00:52:03 +01:00
src single threaded approach 2023-01-28 23:39:10 +01:00
.gitignore Init template repo 2021-09-03 09:52:00 +02:00
Cargo.lock single threaded approach 2023-01-28 23:39:10 +01:00
Cargo.toml single threaded approach 2023-01-28 23:39:10 +01:00
Makefile Update build to use musl toolchain 2022-01-30 15:37:24 +01:00
README.md Update build to use musl toolchain 2022-01-30 15:37:24 +01:00
upload.sh single threaded approach 2023-01-28 23:39:10 +01:00

Template for ev3dev-lang-rust

This is a template for creating and building projects with ev3dev-lang-rust. It contains all the necessary files to cross compile the "Hello World" example for ev3dev platform.

Dependencies

  • cargo
  • docker
  • make (optional)

Setup

Install the armv5te-musl toolchain

rustup target add armv5te-unknown-linux-musleabi

Usage

Build this project:

cargo build --release

The resulting binary can be found at ./target/armv5te-unknown-linux-musleabi/release/<ARTIFACT>.

Optionally strip the executable to reduce binary size:

make strip
# or
docker run --rm -v $(PWD):/build -w /build pixix4/ev3dev-rust:latest arm-linux-gnueabi-strip /build/target/armv5te-unknown-linux-musleabi/release/<ARTIFACT>