Crates.io | arduino_mkrvidor4000 |
lib.rs | arduino_mkrvidor4000 |
version | 0.6.1 |
source | src |
created_at | 2020-03-30 18:01:51.158211 |
updated_at | 2024-10-18 20:09:15.086698 |
description | Board Support crate for the Arduino MKR VIDOR 4000 |
homepage | |
repository | https://github.com/atsamd-rs/atsamd |
max_upload_size | |
id | 224493 |
size | 20,527 |
This crate provides a type-safe API for working with the Arduino MKR Vidor board.
samd
ArduinoData/packages/arduino/tools/bossac/1.7.0[-arduino3]/
add it to your path
ArduinoData
is likely something like ~/.arduino15/
ArduinoData
is likely something like ~/Library/Arduino15
ArduinoData/packages/arduino/tools/bossac/1.7.0/
add it to your pathrustup target add thumbv6m-none-eabi
cargo build --release --example blinky_basic
arm-none-eabi-objcopy -O binary target/thumbv6m-none-eabi/release/examples/blinky_basic target/blinky_basic.bin
# if using cargo-binutils, you can `rust-objcopy` with the same flags, or combine the previous 2 steps with `cargo objcopy`
Then, press the reset button twice quickly on the board. The red LED should be fading in and out. Now you can flash the board.
bossac -i -d -U true -i -e -w -v target/blinky_basic.bin -R