7 releases (breaking)

0.6.0 Jan 11, 2022
0.5.0 Sep 27, 2021
0.4.0 Dec 31, 2020
0.3.0 Nov 28, 2020
0.1.0 Mar 30, 2020

#1255 in Embedded development

Download history 5/week @ 2022-11-30 17/week @ 2022-12-07 10/week @ 2022-12-14 11/week @ 2022-12-21 10/week @ 2022-12-28 3/week @ 2023-01-04 14/week @ 2023-01-11 11/week @ 2023-01-18 17/week @ 2023-01-25 18/week @ 2023-02-01 15/week @ 2023-02-08 31/week @ 2023-02-15 16/week @ 2023-02-22 5/week @ 2023-03-01 8/week @ 2023-03-08 21/week @ 2023-03-15

53 downloads per month
Used in 2 crates


19K SLoC

Arduino MKR Vidor 4000 Board Support Crate

This crate provides a type-safe API for working with the Arduino MKR Vidor board.


Blinky Basic


  • Arduino IDE installed
    • samd package installed (You can do this by going to Tools->Board->BoardManager and then searching for samd
    • Now the arduino distribution contains bossac.exe in ArduinoData/packages/arduino/tools/bossac/1.7.0[-arduino3]/ add it to your path
      • linux: ArduinoData is likely something like ~/.arduino15/
      • OSX: ArduinoData is likely something like ~/Library/Arduino15
    • Now the arduino distribution contains bossac.exe in ArduinoData/packages/arduino/tools/bossac/1.7.0/ add it to your path
    • Probably best to install an example sketch via the IDE just to make sure everything is working
    • Note that the arduino cli (or just regular bossac) may soon replace this section
  • arm-none-eabi tools installed, you need gcc and objcopy.
    • Note: Alternatively, you can use cargo-binutils, which is likely easier to install on OSX and also easier to use, as it will automatically detect the target
  • thumbv6m-none-eabi rust target installed via rustup 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


~157K SLoC