This crate provides a type-safe API for working with the Facts Engineering P1AM-100 board.
- Install the cross compile toolchain
rustup target add thumbv6m-none-eabi
Check out the repository for examples:
https://github.com/atsamd-rs/atsamd/tree/master/boards/p1am_100/examples
- Be in this directory
cd boards/p1am_100
- Put your device in bootloader mode usually by hitting the reset button twice.
- Build using
cargo build --example blinky_basic
- Upload using the
objcopy
andbossa
tools as described in the atsamd crate documentation.