This crate provides a type-safe API for working with the Arduino MKR Vidor board.
ArduinoData/packages/arduino/tools/bossac/1.7.0/
add it to your pathrustup target add thumbv6m-none-eabi
bash
cargo build --release --example blinky_basic
arm-none-eabi-objcopy -O binary target/thumbv6m-none-eabi/release/examples/blinky_basic target/blinky_basic.bin
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.
bash
bossac -i -d -U true -i -e -w -v target/blinky_basic.bin -R