Getting Started¶
Note
Only the Arduino Due board is supported!
Installation¶
Install Rust. Change the
default toolchain
tonightly
. Copydefault host triple
andmodify PATH variable
from the printedCurrent installtion options
.curl https://sh.rustup.rs -sSf | sh
Source the environment setup file.
source $HOME/.cargo/env
Install bindgen and download the Rust sources.
cargo install bindgen rustup component add rust-src
Recursively clone the Rafiki repository.
git clone --recursive https://github.com/eerimoq/rafiki
Build and run the hello world example.
cd rafiki source setup.sh cd examples/hello_world make -s -j4 BOARD=arduino_due run